Versions in this module Expand all Collapse all v1 v1.0.0 Nov 16, 2020 Changes in this version + const AEADModeEAX + const AEADModeGCM + const AEADModeOCB + const AES128 + const AES192 + const AES256 + const CAST5 + const TripleDES + var CipherById = map[uint8]Cipher + var HashById = map[uint8]Hash + type AEADMode uint8 + func (mode AEADMode) New(block cipher.Block) (alg cipher.AEAD) + func (mode AEADMode) NonceLength() int + func (mode AEADMode) TagLength() int + type Cipher interface + BlockSize func() int + Id func() uint8 + KeySize func() int + New func(key []byte) cipher.Block + type CipherFunction uint8 + func (cipher CipherFunction) BlockSize() int + func (cipher CipherFunction) KeySize() int + func (cipher CipherFunction) New(key []byte) (block cipher.Block) + func (sk CipherFunction) Id() uint8 + type Hash interface + Available func() bool + HashFunc func() crypto.Hash + Id func() uint8 + New func() hash.Hash + Size func() int + String func() string + var MD5 Hash = cryptoHash{ ... } + var RIPEMD160 Hash = cryptoHash{ ... } + var SHA1 Hash = cryptoHash{ ... } + var SHA224 Hash = cryptoHash{ ... } + var SHA256 Hash = cryptoHash{ ... } + var SHA384 Hash = cryptoHash{ ... } + var SHA512 Hash = cryptoHash{ ... }