export const ALGO_ECDH_CURVE              = 'secp521r1'
export const RATCHET_KEY_LENGTH           = 133
export const HEADER_LENGTH                = 16

export const ALGO_CIPHER                  = 'aes-256-cbc'
export const ALGO_HKDF_HMAC               = 'sha512'

export const HKDF_KEY_TYPE_CHAIN          = 'KEY_TYPE_CHAIN'
export const HKDF_KEY_TYPE_MESSAGE        = 'KEY_TYPE_MESSAGE'
export const HKDF_KEY_TYPE_ROOT           = 'KEY_TYPE_ROOT'
export const HKDF_KEY_TYPE_HEADER         = 'KEY_TYPE_HEADER'

export const AUTHENTICATION_KEY_LENGTH    = 32
export const AUTHENTICATION_TAG_LENGTH    = 16
export const CIPHER_IV_LENGTH             = 16
export const CIPHER_KEY_LENGTH            = 32

export const MESSAGE_KEY_TTL              = 20

export const ALGO_ECDH_CURVE              = 'secp521r1'
export const RATCHET_KEY_LENGTH           = 133
export const HEADER_LENGTH                = 16

export const ALGO_CIPHER                  = 'aes-256-cbc'
export const ALGO_HKDF_HMAC               = 'sha256'

export const HKDF_KEY_TYPE_CHAIN          = 'KEY_TYPE_CHAIN'
export const HKDF_KEY_TYPE_MESSAGE        = 'KEY_TYPE_MESSAGE'
export const HKDF_KEY_TYPE_ROOT           = 'KEY_TYPE_ROOT'
export const HKDF_KEY_TYPE_HEADER         = 'KEY_TYPE_HEADER'

export const AUTHENTICATION_KEY_LENGTH    = 32
export const AUTHENTICATION_TAG_LENGTH    = 16
export const CIPHER_IV_LENGTH             = 16
export const CIPHER_KEY_LENGTH            = 32

export const MESSAGE_KEY_TTL              = 20

change HKDF HMAC to SHA256