Handbook
Glossary
bech32-encode ( hrp data checksum -- bech32 )
Vocabulary
bech32
.
private
Inputs
hrp
an
object
data
an
object
checksum
an
object
Outputs
bech32
an
object
Definition
USING:
kernel
sequences
;
IN:
bech32.private
:
bech32-encode
( hrp data checksum -- bech32 )
[
dup
]
2dip
over
[
bech32-checksum
]
[
prepend
]
bi*
[
alphabet
nth
]
map
"1"
glue
;