Documentation ¶
Index ¶
- type DES
- func (d DES) DecryptCBC(unpadding cryptox.UnPadding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) DecryptCFB(unpadding cryptox.UnPadding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) DecryptCTR(unpadding cryptox.UnPadding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) DecryptECB(unpadding cryptox.UnPadding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) DecryptOFB(unpadding cryptox.UnPadding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) EncryptCBC(padding cryptox.Padding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) EncryptCFB(padding cryptox.Padding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) EncryptCTR(padding cryptox.Padding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) EncryptECB(padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (d DES) EncryptOFB(padding cryptox.Padding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- type TripleDES
- func (td TripleDES) DecryptCBC(unpadding cryptox.UnPadding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) DecryptCFB(unpadding cryptox.UnPadding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) DecryptCTR(unpadding cryptox.UnPadding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) DecryptECB(unpadding cryptox.UnPadding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) DecryptOFB(unpadding cryptox.UnPadding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) EncryptCBC(padding cryptox.Padding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) EncryptCFB(padding cryptox.Padding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) EncryptCTR(padding cryptox.Padding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) EncryptECB(padding cryptox.Padding, bs cryptox.Bytes) (cryptox.Bytes, error)
- func (td TripleDES) EncryptOFB(padding cryptox.Padding, iv cryptox.Bytes, bs cryptox.Bytes) (cryptox.Bytes, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DES ¶ added in v0.3.2
type DES struct {
// contains filtered or unexported fields
}
DES packs some function of des.
func (DES) DecryptCBC ¶ added in v0.3.2
func (DES) DecryptCFB ¶ added in v0.3.2
func (DES) DecryptCTR ¶ added in v0.3.2
func (DES) DecryptECB ¶ added in v0.3.2
func (DES) DecryptOFB ¶ added in v0.3.2
func (DES) EncryptCBC ¶ added in v0.3.2
func (DES) EncryptCFB ¶ added in v0.3.2
func (DES) EncryptCTR ¶ added in v0.3.2
func (DES) EncryptECB ¶ added in v0.3.2
type TripleDES ¶ added in v0.3.2
type TripleDES struct {
// contains filtered or unexported fields
}
TripleDES packs some function of 3des.
func (TripleDES) DecryptCBC ¶ added in v0.3.2
func (TripleDES) DecryptCFB ¶ added in v0.3.2
func (TripleDES) DecryptCTR ¶ added in v0.3.2
func (TripleDES) DecryptECB ¶ added in v0.3.2
func (TripleDES) DecryptOFB ¶ added in v0.3.2
func (TripleDES) EncryptCBC ¶ added in v0.3.2
func (TripleDES) EncryptCFB ¶ added in v0.3.2
func (TripleDES) EncryptCTR ¶ added in v0.3.2
func (TripleDES) EncryptECB ¶ added in v0.3.2
Click to show internal directories.
Click to hide internal directories.