Skip to main content
Version: 5.7.x.x Java 8 ELS

Base62 object methods

MethodDescriptionSample
base62:encode(data)Input parameter: the string to encode.Result: the encoded string.result = base62:encode("hello world")
base62:decode(data)Input parameter: the encoded string to decode.Result: the decoded string.plain = base62:decode("MlKnuuxMkgZx0uABm")

Example

base62 = nevis.crypto.base62.new()
result = base62:encode("hello world")
plain = base62:decode("MlKnuuxMkgZx0uABm")