Information Security 2 min read

Dongle: A Lightweight Go Library for Encoding, Decoding, and Cryptographic Operations

Dongle is a lightweight, semantic Go library that offers extensive encoding/decoding capabilities and a full suite of encryption, decryption, and hashing algorithms, making it a developer‑friendly tool for data transformation and security tasks.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
Dongle: A Lightweight Go Library for Encoding, Decoding, and Cryptographic Operations

Dongle is a lightweight, semantic, developer‑friendly Go library that provides a comprehensive set of encoding/decoding and encryption/decryption functions.

Update log:

Added support for Base62 encoding/decoding.

Added support for Base91 encoding/decoding.

Added support for Base100 encoding/decoding.

Added support for SM3 hashing.

Fixed documentation errors.

Feature list includes:

Hex, Base16, Base32, Base58, Base62, Base64, Base64URL, SafeURL, Base85, Base91, Base92, Base100 encoding/decoding.

MD4, MD5, SHA1, SHA224, SHA256, SHA384, SHA512 and their HMAC variants.

RC2, RC4, RC5, RC6, SM2, SM3, SM4, SM7, SM9, DSA, TEA, XTEA encryption/decryption.

RSA‑PKCS1Pem/PKCS8Pem encryption/decryption.

AES, DES, 3DES in multiple modes (ECB, CBC, CTR, CFB, OFB) with various paddings (NoPadding, ZeroPadding, PKCS5Padding, PKCS7Padding).

golangGoencodingEncryptionlibrarycryptography
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.