billstclair/elm-crypto-string/3.0.0

NOTE: the latest version is 3.0.1

Crypto.Strings.BlockAes

Connect Crypto.AES to Crypto.Strings.Crypt

Types

type alias Key =
Keys

AES key type

type KeySize
= KeySize16
| KeySize24
| KeySize32

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

Functions

encryption : Encryption Key

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

setKeySize : KeySize -> Encryption Key -> Encryption Key

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