Permalink
Browse files

[fix] Crypto.Base64.encode: fixed server-side behavior.

Following Alok Menghrajani's bug report.
  • Loading branch information...
1 parent f2de861 commit c04274b38775ddfe7c251419396baf6e15795d06 @akoprow akoprow committed Dec 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/crypto/bslCrypto.ml
@@ -20,7 +20,7 @@ let md5 = (fun x -> Digest.to_hex (Digest.string x))
##register base64_encode : string -> string
let base64_encode str =
- Cryptokit.transform_string (Cryptokit.Base64.encode_compact ()) str
+ Cryptokit.transform_string (Cryptokit.Base64.encode_multiline ()) str
##register base64_decode : string -> string
let base64_decode str =

0 comments on commit c04274b

Please sign in to comment.