base32
Base32 Encoder and Decoder for Dart, primarily used for One Time Password secrets.
2.2.0
211K downloads/mo
#830 most downloaded on pub.dev
Daegalus/dart-base32
What this package is like to depend on
Last release 1 years ago
07 Aug 2025
Release timing varies
gaps range from 2 months to 3.2 years
Most releases are documented
notes for 20 of 26 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
28 releases · first in 2012
0 releases in the last 12 months
see the full history below
Release timeline
28 releases · Dec 2012 to Aug 2025Releases
latest 28-
2.2.007 Aug 2025Release notes
Open source →v2.2.0
- Fix crockford padding handling (Thanks @jscholler)
- Update deps and clean up old dart stuff no longer necessary.
- Expose
isValidto allow verification with booleans.
What's Changed
- Fix: Skip even length check for non-padded encodings (Crockford) and add test for GitHub issue example by @jscholler in #15
New Contributors
- @jscholler made their first contribution in #15
Full Changelog: 2.1.3...2.2.0
Release notes
Open source →- Fix crockford padding handling (Thanks @jscholler)
- Update deps and clean up old dart stuff no longer necessary.
- Expose
isValidto allow verification with booleans.
-
2.1.314 Jun 2022Release notes
Open source →- Add auto padding for padded Encodings when padding is not part of the string but should be, reduces errors thrown and it is common to share unpadded strings for padded encodings.
Release notes
Open source →- Add auto padding for padded Encodings when padding is not part of the string but should be, reduces errors thrown and it is common to share unpadded strings for padded encodings.
-
2.1.213 Jun 2022Release notes
Open source →- Added lowercase variant of the RFC4648 encoding for use in situations where needed. I don't recommend using it, as this is not standard and not part of the RFC4648 spec, so interoperability with other libraries can not be guaranteed.
Release notes
Open source →- Added lowercase variant of the RFC4648 encoding for use in situations where needed. I don't recommend using it, as this is not standard and not part of the RFC4648 spec, so interoperability with other libraries can not be guaranteed.
-
2.1.120 Oct 2021 -
2.1.014 Oct 2021Release notes
Open source →- Add support for base32Hex, crockford, z-base-32, and geohash variants
- Added general support for additional variants and optional no padding
-
2.0.030 May 2021 -
2.0.0-nullsafety.112 Dec 2020 pre-release -
2.0.0-nullsafety.012 Dec 2020 pre-release -
1.1.228 Aug 2020 -
1.1.120 Nov 2019 -
1.1.020 Nov 2019Release notes
Open source →- Reimplemented Decode and Encode to fix issue #7
- Decode now throws FormatException if you give it an invalide base32 string.
- added encodeString() to pass in generic strings
- added decodeAsString() to return straight string data
- added decodeAsHexString() to return a hex format string directly
- Use convert to do hex encoding/decoding.
- Add a lot more tests, primarily from the RF4648 test cases.
v1.0.4 & v1.0.3 & v1.0.2
- Some cleanup
-
1.0.414 Nov 2019Nothing published for this version
-
1.0.314 Nov 2019Nothing published for this version
-
1.0.214 Nov 2019Nothing published for this version
-
1.0.107 Aug 2018 -
1.0.010 Apr 2018Release notes
Open source →- Merge pull request to fix List type and some readme formatting
- This has been stable for years, moving to 1.0.0. Will release 1.0.0+1 when Dart 2.0 goes stable.
-
1.0.0+110 Apr 2018Nothing published for this version
-
0.1.231 Jan 2015Release notes
Open source →- Merge Pull Request to move most dependencies to dev_dependecies
v0.1.0 & v0.1.1wq
- Updates for Dart 1.0 readiness.
-
0.1.109 Nov 2013Nothing published for this version
-
0.1.009 Nov 2013Nothing published for this version
-
0.0.814 Sep 2013 -
0.0.727 May 2013Release notes
Open source →- Fix for typed_data name change. Thanks to the pull requestor for bringing it to my attention and fixing it.
-
0.0.611 Apr 2013 -
0.0.503 Mar 2013 -
0.0.422 Jan 2013 -
0.0.303 Jan 2013 -
0.0.214 Dec 2012 -
0.0.114 Dec 2012