billstclair / elm-crypto-string / Crypto.Strings.BlockAes

Connect Crypto.AES to Crypto.Strings.Crypt

Types


type alias Key =
Crypto.AES.Keys

AES key type


type KeySize
    = KeySize16
    | KeySize24
    | KeySize32

An AES key size. 16, 24, or 32 bytes.

Functions

encryption : Crypto.Strings.Types.Encryption Key

AES encryption. 32-byte key size. Use setKeySize to change it.

setKeySize : KeySize -> Crypto.Strings.Types.Encryption Key -> Crypto.Strings.Types.Encryption Key

Change the key size of the keyExpander inside an AES Encryption spec.