sha1ext
std / sha1 extension
Summary
| Latest Version | 0.1.1 |
|---|---|
| License | Apache License 2.0 |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-09-02 07:21 |
Tags
Authors
- Yoshihiro Tanaka
Installation
nimble install sha1ext
choosenim install sha1ext
git clone https://github.com/CORDEA/sha1ext
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| sha1ext | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 0.17.3 | No |
Source
| Repository | https://github.com/CORDEA/sha1ext |
|---|---|
| Homepage | https://github.com/CORDEA/sha1ext |
| Documentation | View Documentation |
| Registry Source | nimble_official |
README
sha1ext
Extension of std / sha1 mainly for developers using python, ruby etc.
Usage
- Digest
digest("nim")
# or
var sha1 = newSha1Digest()
sha1.update("nim")
sha1.digest()
- Hex
hexdigest("nim")
# or
var sha1 = newSha1Digest()
sha1.update("nim")
sha1.hexdigest()
- Base64
base64digest("nim")
# or
var sha1 = newSha1Digest()
sha1.update("nim")
sha1.base64digest()
- Sha1Digest
The following two will be the same result.
var sha1 = newSha1Digest()
sha1.update("nim")
sha1.base64digest()
var sha1 = newSha1Digest()
sha1.update('n')
sha1.update('i')
sha1.update('m')
sha1.base64digest()