base58-go

Base58 encoding/decoding package and command written in Go

MIT License

Stars
111
Committers
3

Bot releases are visible (Hide)

base58-go - Release v0.2.2 Latest Release

Published by github-actions[bot] 6 months ago

  • Update Go requirement to 1.22
  • Remove dependency on go-flags to reduce executable size
  • Use posix style flag on Windows
base58-go - Release v0.2.1

Published by github-actions[bot] over 1 year ago

  • Bump up dependencies
  • Improve zsh completion
base58-go - Release v0.2.0

Published by github-actions[bot] about 3 years ago

This release changes the library implementation largely. Previously this
library was implemented using big integers, but it costs both time and memory.
From this release, I re-implemented all the logic without big integers for
performance improvement. I have tested carefully, very carefully, including
fuzzing for hours, not to introduce any regression. However, I don't want it to
happen, but there might be some unexpected changes. Make sure to report issues
as soon as you find any regression.

Here's performance comparison against v0.1.0.

name      old time/op    new time/op    delta
Encode-8    12.5µs ± 0%     3.9µs ± 1%  -68.67%  (p=0.001 n=7+7)
Decode-8    11.2µs ± 1%     4.5µs ± 1%  -59.47%  (p=0.001 n=7+7)

name      old alloc/op   new alloc/op   delta
Encode-8    3.70kB ± 0%    2.30kB ± 0%  -37.66%  (p=0.001 n=7+7)
Decode-8    3.89kB ± 0%    2.54kB ± 0%  -34.57%  (p=0.001 n=7+7)

name      old allocs/op  new allocs/op  delta
Encode-8       201 ± 0%       129 ± 0%  -35.82%  (p=0.001 n=7+7)
Decode-8       303 ± 0%       135 ± 0%  -55.45%  (p=0.001 n=7+7)

Also I added EncodeUint64 and DecodeUint64.
Use these methods if you want to convert between encoded bytes and uint64.

base58-go - Release v0.1.0

Published by github-actions[bot] almost 5 years ago

base58-go -

Published by itchyny over 5 years ago

base58-go -

Published by itchyny over 5 years ago

base58-go - https://github.com/itchyny/base58-go/releases/tag/v0.0.3

Published by itchyny over 5 years ago

base58-go - https://github.com/itchyny/base58-go/releases/tag/v0.0.2

Published by itchyny over 5 years ago

base58-go - https://github.com/itchyny/base58-go/releases/tag/v0.0.1

Published by itchyny over 5 years ago

Package Rankings
Top 2.38% on Proxy.golang.org
Badges
Extracted from project README
CI Status Go Report Card MIT License release pkg.go.dev