billstclair/elm-crypto-string/2.1.1

NOTE: this package is not compatible with Elm 0.19.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.