Documentation ¶
Overview ¶
Package crypto is only meant to be used by Scytale.
The functions in this package are not meant to be fool-proof abstractions for the underlying crypto API. Encrypt and Decrypt always use 0 as the nonce. This is acceptable for Scytale because the key is only used once. In other scenarios, this could completely compromise the security of your application. Please don't use this in your own application.
Index ¶
Constants ¶
View Source
const KeySize = 16
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.