Documentation ¶
Overview ¶
Package present implements the ultra-lightweight block cipher PRESENT as defined by Bogdanov et al. [1].
1. Bogdanov A. et al. (2007) PRESENT: An Ultra-Lightweight Block Cipher. In: Paillier P., Verbauwhede I. (eds) Cryptographic Hardware and Embedded Systems - CHES 2007. CHES 2007. Lecture Notes in Computer Science, vol 4727. Springer, Berlin, Heidelberg
Index ¶
Constants ¶
View Source
const BlockSize = 8
BlockSize is the PRESENT block size in bytes.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeySizeError ¶
type KeySizeError int
KeySizeError represents an invalid PRESENT key length.
func (KeySizeError) Error ¶
func (k KeySizeError) Error() string
Click to show internal directories.
Click to hide internal directories.