Skip to content

Commit

Permalink
base64url
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseshiftleft committed Aug 14, 2011
1 parent 39004e4 commit 57a3d41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions core/codecBase64.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,8 @@ sjcl.codec.base64 = {
return out;
}
};

sjcl.codec.base64url = {
fromBits: function (arr) { return sjcl.codec.base64.fromBits(arr,1,1); },
toBits: function (str) { return sjcl.codec.base64.toBits(str,1); }
};
2 changes: 1 addition & 1 deletion sjcl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 57a3d41

Please sign in to comment.