Documentation ¶
Index ¶
- func CRC32(bs cryptox.Bytes, table *Table32) (cryptox.Bytes, uint32, error)
- func CRC32IEEE(bs cryptox.Bytes) (cryptox.Bytes, uint32, error)
- func CRC64(bs cryptox.Bytes, table *Table64) (cryptox.Bytes, uint64, error)
- func CRC64ECMA(bs cryptox.Bytes) (cryptox.Bytes, uint64, error)
- func CRC64ISO(bs cryptox.Bytes) (cryptox.Bytes, uint64, error)
- func Fnv128(bs cryptox.Bytes) (cryptox.Bytes, error)
- func Fnv128a(bs cryptox.Bytes) (cryptox.Bytes, error)
- func Fnv32(bs cryptox.Bytes) (cryptox.Bytes, uint32, error)
- func Fnv32a(bs cryptox.Bytes) (cryptox.Bytes, uint32, error)
- func Fnv64(bs cryptox.Bytes) (cryptox.Bytes, uint64, error)
- func Fnv64a(bs cryptox.Bytes) (cryptox.Bytes, uint64, error)
- func MD5(bs cryptox.Bytes) (cryptox.Bytes, error)
- func SHA1(bs cryptox.Bytes) (cryptox.Bytes, error)
- func SHA224(bs cryptox.Bytes) (cryptox.Bytes, error)
- func SHA256(bs cryptox.Bytes) (cryptox.Bytes, error)
- func SHA384(bs cryptox.Bytes) (cryptox.Bytes, error)
- func SHA512(bs cryptox.Bytes) (cryptox.Bytes, error)
- type HMACPack
- func (hp HMACPack) MD5(bs cryptox.Bytes) (cryptox.Bytes, error)
- func (hp HMACPack) SHA1(bs cryptox.Bytes) (cryptox.Bytes, error)
- func (hp HMACPack) SHA224(bs cryptox.Bytes) (cryptox.Bytes, error)
- func (hp HMACPack) SHA256(bs cryptox.Bytes) (cryptox.Bytes, error)
- func (hp HMACPack) SHA384(bs cryptox.Bytes) (cryptox.Bytes, error)
- func (hp HMACPack) SHA512(bs cryptox.Bytes) (cryptox.Bytes, error)
- type Table32
- type Table64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HMACPack ¶ added in v0.3.2
type HMACPack struct {
// contains filtered or unexported fields
}
HMACPack packs some HMAC functions. You should use HMAC() directly.
func (HMACPack) SHA1 ¶ added in v0.3.2
SHA1 uses hmac-sha1 to hash bs and returns an error if failed.
func (HMACPack) SHA224 ¶ added in v0.3.2
SHA224 uses hmac-sha224 to hash bs and returns an error if failed.
func (HMACPack) SHA256 ¶ added in v0.3.2
SHA256 uses hmac-sha256 to hash bs and returns an error if failed.
Click to show internal directories.
Click to hide internal directories.