Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print base64 to number returns nothing #527

Closed
andrea-dintino opened this issue Nov 22, 2022 · 1 comment
Closed

Print base64 to number returns nothing #527

andrea-dintino opened this issue Nov 22, 2022 · 1 comment
Assignees
Labels
beelzebug Demonic bug that transcends the laws of relativistic physics

Comments

@andrea-dintino
Copy link
Member

Code:

Given I have a 'base64' named 'b64'
Then print the 'b64' as 'number' 

Data:

{
	"b64": "CTlQid3NvdizBrYjqIwNLIrHGeFccqHzlQ/jsYovLJA="
}

Output:

[]

1669105655528I Release version: 3.0.0
1669105655528I Build commit hash: b10867b
1669105655528I Memory manager: mimalloc
1669105655528I ECDH curve is SECP256K1
1669105655528I ECP curve is BLS381
1669105655528W[W] Zencode is missing version check, please add: rule check version N.N.N
1669105655528S[] Script successfully executed
1669105655528I Zenroom execution completed.
1669105655528S[
] Zenroom teardown.
1669105655528I Memory used: 432 KB
1669105655528S[*] Executed in 21 ms

@andrea-dintino andrea-dintino added the beelzebug Demonic bug that transcends the laws of relativistic physics label Nov 22, 2022
@jaromil
Copy link
Member

jaromil commented Nov 22, 2022

@andrea-dintino there are two options here: report error for this conversion or, IMO preferrable, cast the data into a BIG integer and eventually report an error if too long for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beelzebug Demonic bug that transcends the laws of relativistic physics
Projects
None yet
Development

No branches or pull requests

4 participants