Astra.crypto = {}
function Astra.crypto.hash(hash_type, input)
return astra_internal__hash(hash_type, input)
end
Astra.crypto.base64 = {}
function Astra.crypto.base64.encode(input)
return astra_internal__base64_encode(input)
end
function Astra.crypto.base64.encode_urlsafe(input)
return astra_internal__base64_encode_urlsafe(input)
end
function Astra.crypto.base64.decode(input)
return astra_internal__base64_decode(input)
end
function Astra.crypto.base64.decode_urlsafe(input)
return astra_internal__base64_decode_urlsafe(input)
end