github.com/bingoohuang/gg@v0.0.0-20240325092523-45da7dee9335/pkg/cry/doc.go (about) 1 // Package gocrypt provide a library for do encryption in struct with go field. 2 // 3 // # Package gocrypt provide in struct tag encryption or inline encryption and decryption 4 // 5 // The package supported: 6 // 7 // # DES3 — Triple Data Encryption Standard 8 // 9 // AES/GCM — Advanced Encryption Standard 10 // 11 // # RC4 — stream chipper 12 // 13 // The AES cipher is the current U.S. government standard for all software, and is recognized worldwide. 14 // 15 // The DES ciphers are primarily supported for PBE standard that provides the option of generating an encryption key based on a passphrase. 16 // 17 // The RC4 is supplied for situations that call for fast encryption, but not strong encryption. RC4 is ideal for situations that require a minimum of encryption. 18 package cry