/** Recommended AES-GCM nonce length in bytes (96-bit IV). */ export const AES_GCM_NONCE_LENGTH = 12 as const; /** AES-256 key length in bytes. */ export const AES_256_KEY_LENGTH = 32 as const; /** AES-128 key length in bytes. */ export const AES_128_KEY_LENGTH = 16 as const; /** Ed25519 public key length in bytes. */ export const ED25519_PUBLIC_KEY_LENGTH = 32 as const; /** Ed25519 signature length in bytes. */ export const ED25519_SIGNATURE_LENGTH = 64 as const; /** X25519 public key length in bytes. */ export const X25519_PUBLIC_KEY_LENGTH = 32 as const; /** X25519 shared secret length in bytes. */ export const X25519_SHARED_SECRET_LENGTH = 32 as const; /** P-384 uncompressed public key length in bytes. */ export const P384_PUBLIC_KEY_LENGTH = 97 as const; /** P-384 shared secret length in bytes (derived bits). */ export const P384_SHARED_SECRET_LENGTH = 48 as const; /** P-256 uncompressed public key length in bytes. */ export const P256_PUBLIC_KEY_LENGTH = 65 as const;