Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Absorb ¶
Absorb implements the function Gimli-Absorb defined in draft-shrub.fr-shrubbery at https://github.com/shrub-fr/spec-shrub/blob/master/shrubbery.md#cryptographic-primitives
func CopySponge ¶
CopySponge returns a clone of the Gimli sponge received as input
func Decrypt ¶
Decrypt implements the function Gimli-Decrypt defined in draft-shrub.fr-shrubbery at https://github.com/shrub-fr/spec-shrub/blob/master/shrubbery.md#cryptographic-primitives
Decrypt decrypts ciphertext and overwrites ciphertext with the plaintext.
func Encrypt ¶
Encrypt implements the function Gimli-Encrypt defined in draft-shrub.fr-shrubbery at https://github.com/shrub-fr/spec-shrub/blob/master/shrubbery.md#cryptographic-primitives
Encrypt encrypts plaintext and overwrites plaintext with the ciphertext.
func Finalize ¶
Finalize implements the function Gimli-Finalize defined in draft-shrub.fr-shrubbery at https://github.com/shrub-fr/spec-shrub/blob/master/shrubbery.md#cryptographic-primitives
Finalize returns a 32-bytes-long tag of the sponge s.
func InitSponge ¶
InitSponge returns a Gimli sponge which has absorbed the string received as input
func Pad ¶
Pad implements the function Pad defined in draft-shrub.fr-shrubbery at https://github.com/shrub-fr/spec-shrub/blob/master/shrubbery.md#cryptographic-primitives
Types ¶
This section is empty.