Documentation ¶
Index ¶
- func DecryptCBC(key cryptox.Bytes, iv cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func DecryptCFB(key cryptox.Bytes, iv cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func DecryptCTR(key cryptox.Bytes, iv cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func DecryptECB(key cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func DecryptGCM(key cryptox.Bytes, nonce cryptox.Bytes, additional cryptox.Bytes, ...) (cryptox.Bytes, error)
- func DecryptOFB(key cryptox.Bytes, iv cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func EncryptCBC(key cryptox.Bytes, iv cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func EncryptCFB(key cryptox.Bytes, iv cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func EncryptCTR(key cryptox.Bytes, iv cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func EncryptECB(key cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func EncryptGCM(key cryptox.Bytes, nonce cryptox.Bytes, additional cryptox.Bytes, ...) (cryptox.Bytes, error)
- func EncryptOFB(key cryptox.Bytes, iv cryptox.Bytes, padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func GenerateGCMNonce() cryptox.Bytes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptCBC ¶ added in v0.4.3
func DecryptCFB ¶ added in v0.4.3
func DecryptCTR ¶ added in v0.4.3
func DecryptECB ¶ added in v0.4.3
func DecryptGCM ¶ added in v0.4.3
func DecryptGCM(key cryptox.Bytes, nonce cryptox.Bytes, additional cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
DecryptGCM uses gcm mode to decrypt bs.
func DecryptOFB ¶ added in v0.4.3
func EncryptCBC ¶ added in v0.4.3
func EncryptCFB ¶ added in v0.4.3
func EncryptCTR ¶ added in v0.4.3
func EncryptECB ¶ added in v0.4.3
func EncryptGCM ¶ added in v0.4.3
func EncryptGCM(key cryptox.Bytes, nonce cryptox.Bytes, additional cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
EncryptGCM uses gcm mode to encrypt bs.
func EncryptOFB ¶ added in v0.4.3
func GenerateGCMNonce ¶ added in v0.3.3
GenerateGCMNonce generates a standard nonce for gcm.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.