search
HomeBackend DevelopmentGolanggo-dongle version 0.1.4 is released! See what features are available!

This article will introduce you to a developer-friendly Golang encoding, decoding, encryption and decryption library. Let’s take a look at the functions of go-dongle version 0.1.4. I hope it will be helpful to everyone.

go-dongle version 0.1.4 is released! See what features are available!

#                                                                                                                                                                    ​Decryption library [Recommended learning: golang tutorial]
github.com/golang-module/dongle
gitee.com/golang-module/dongle

Update log

Add support for tea encryption and decryption Add support for bcrypt signature and signature verification

    Add cipherMode, cipherPadding and pkcsVersion type aliases
  • Fix known bugs
  • Increase unit test coverage to 100 %
  • Function list
    • Hex encoding, decoding
    • Base16 encoding, decoding
    • Base32 encoding, decoding
    • Base58 encoding, decoding
    • Base62 encoding, decoding
    • Base64 encoding, decoding
    • Base64URL encoding, decoding
    • SafeURL encoding, decoding
    • Base85 encoding, decoding
    • Base91 encoding, decoding
    • Base100 encoding, decoding
    • Md4 encryption
    • Hmac-md4 encryption
    • Md5 encryption
    • Hmac-md5 encryption
    • Sha1 encryption
    • Hmac-sha1 encryption
    • Sha224 encryption
    • Hmac-sha224 encryption
    • Sha256 encryption
    • Hmac-sha256 encryption
    • Sha384 encryption
    • Hmac-sha384 encryption
    • Sha512 encryption
    • Hmac-sha512 encryption
    • Rc2 encryption
    • Rc4 encryption
    • Rc5 encryption
    • Rc6 encryption
    • Tea encryption and decryption
    • Xtea encryption and decryption
    • Aes-ECB/CBC/CTR/CFB/OFB-NoPadding/ ZeroPadding/PKCS5Padding/PKCS7Padding encryption and decryption
    • Dde-ECB/CBC/CTR/CFB/OFB-NoPadding/ZeroPadding/PKCS5Padding/PKCS7Padding encryption and decryption
    • 3des-ECB/CBC/CTR/CFB/OFB-NoPadding/ZeroPadding/PKCS5Padding/PKCS7Padding Encryption, Decryption
    • ## Rsa-PKCS1Pem/PKCS8Pem Encryption, Decryption
    • Ecc encryption, decryption
    • Sm2 encryption, decryption
    • Sm3 encryption
    • Sm4 encryption, decryption
    • Sm7 encryption, decryption
    • Sm9 encryption, decryption
    • Bcrypt signature, signature verification
    • Rsa signature, signature verification
    • Dsa signature, signature verification

The above is the detailed content of go-dongle version 0.1.4 is released! See what features are available!. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:learnku. If there is any infringement, please contact admin@php.cn delete
Golang vs. Python: Performance and ScalabilityGolang vs. Python: Performance and ScalabilityApr 19, 2025 am 12:18 AM

Golang is better than Python in terms of performance and scalability. 1) Golang's compilation-type characteristics and efficient concurrency model make it perform well in high concurrency scenarios. 2) Python, as an interpreted language, executes slowly, but can optimize performance through tools such as Cython.

Golang vs. Other Languages: A ComparisonGolang vs. Other Languages: A ComparisonApr 19, 2025 am 12:11 AM

Go language has unique advantages in concurrent programming, performance, learning curve, etc.: 1. Concurrent programming is realized through goroutine and channel, which is lightweight and efficient. 2. The compilation speed is fast and the operation performance is close to that of C language. 3. The grammar is concise, the learning curve is smooth, and the ecosystem is rich.

Golang and Python: Understanding the DifferencesGolang and Python: Understanding the DifferencesApr 18, 2025 am 12:21 AM

The main differences between Golang and Python are concurrency models, type systems, performance and execution speed. 1. Golang uses the CSP model, which is suitable for high concurrent tasks; Python relies on multi-threading and GIL, which is suitable for I/O-intensive tasks. 2. Golang is a static type, and Python is a dynamic type. 3. Golang compiled language execution speed is fast, and Python interpreted language development is fast.

Golang vs. C  : Assessing the Speed DifferenceGolang vs. C : Assessing the Speed DifferenceApr 18, 2025 am 12:20 AM

Golang is usually slower than C, but Golang has more advantages in concurrent programming and development efficiency: 1) Golang's garbage collection and concurrency model makes it perform well in high concurrency scenarios; 2) C obtains higher performance through manual memory management and hardware optimization, but has higher development complexity.

Golang: A Key Language for Cloud Computing and DevOpsGolang: A Key Language for Cloud Computing and DevOpsApr 18, 2025 am 12:18 AM

Golang is widely used in cloud computing and DevOps, and its advantages lie in simplicity, efficiency and concurrent programming capabilities. 1) In cloud computing, Golang efficiently handles concurrent requests through goroutine and channel mechanisms. 2) In DevOps, Golang's fast compilation and cross-platform features make it the first choice for automation tools.

Golang and C  : Understanding Execution EfficiencyGolang and C : Understanding Execution EfficiencyApr 18, 2025 am 12:16 AM

Golang and C each have their own advantages in performance efficiency. 1) Golang improves efficiency through goroutine and garbage collection, but may introduce pause time. 2) C realizes high performance through manual memory management and optimization, but developers need to deal with memory leaks and other issues. When choosing, you need to consider project requirements and team technology stack.

Golang vs. Python: Concurrency and MultithreadingGolang vs. Python: Concurrency and MultithreadingApr 17, 2025 am 12:20 AM

Golang is more suitable for high concurrency tasks, while Python has more advantages in flexibility. 1.Golang efficiently handles concurrency through goroutine and channel. 2. Python relies on threading and asyncio, which is affected by GIL, but provides multiple concurrency methods. The choice should be based on specific needs.

Golang and C  : The Trade-offs in PerformanceGolang and C : The Trade-offs in PerformanceApr 17, 2025 am 12:18 AM

The performance differences between Golang and C are mainly reflected in memory management, compilation optimization and runtime efficiency. 1) Golang's garbage collection mechanism is convenient but may affect performance, 2) C's manual memory management and compiler optimization are more efficient in recursive computing.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment