Jump to content

RSA code: Difference between revisions

(→‎{{header|jq}}: simplify)
Line 1,082:
def bytes:
def stream:
recurse(if . >= 0256 then ./256|floor else empty end) | . % 256 ;
else [stream] | reverse | .[1:];
if . == 0 then 0
else [stream] | reverse | .[1:]
end;
 
# convert ASCII plain text to a number
Line 1,138 ⟶ 1,136:
Decoded number as text : Hello, Rosetta!!!!
</pre>
 
 
=={{header|Julia}}==
2,478

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.