Skip to main content
Version: 2.8.x(Latest)

DES Algorithm.

Usage:

import "github.com/gogf/gf/v2/crypto/gdes"

API Documentation:

https://pkg.go.dev/github.com/gogf/gf/v2/crypto/gdes

About Padding in the gdes Package:

The gdes package supports padding methods: PKCS5PADDING and NOPADDING. When using NOPADDING, a custom padding method is required.

About Keys in the gdes Package:

When using the Triple DES algorithm, with a 16-byte key, key3 is equal to key1.