Re: [racket-users] problems when encoding/decoding using grommet/crypto

2017-04-05 Thread Neil Van Dyke
I think there's a typo, with the decodes and encodes backwards. #lang racket/base (require net/base64) (base64-decode (base64-encode #"xxx")) ;;==> #"xxx" -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop r

[racket-users] problems when encoding/decoding using grommet/crypto

2017-04-05 Thread Robert Kuzelj
Hi, I am having the below results when decoding and encoding strings and I am not sure if I am doing things wrong or if this is a bug > (require grommet/crypto/base64) > (base64-encode (base64-decode "xxx")) "xxxA" > (base64-encode (base64-decode "")) "" > (