base32 1.0.2 copy "base32: ^1.0.2" to clipboard
base32: ^1.0.2 copied to clipboard

outdated

Base32 Encoder and Decoder for Dart, primarily used for One Time Password secrets.

example/example.dart

import 'package:base32/base32.dart';

void main() {
  // Encode a hex string to base32
  base32.encodeHexString('48656c6c6f21deadbeef'); // -> 'JBSWY3DPEHPK3PXP'

  // base32 decoding to original string.
  base32.decode("JBSWY3DPEHPK3PXP"); // -> '48656c6c6f21deadbeef'
}
18
likes
0
pub points
95%
popularity

Publisher

verified publisheryuli.dev

Base32 Encoder and Decoder for Dart, primarily used for One Time Password secrets.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on base32