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

Add possibility to access the processed data as DataView/ArrayBuffer #64

Open
GoogleCodeExporter opened this issue Sep 11, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I'm glad to see that you implemented the creation of WordArray objects with 
typed Arrays as input parameter.

I think there should be a possibility to access the (processed) data contained 
in a WordArray as a typed Array/DataView/ArrayBuffer, too.
So you could save bandwidth when sending larger amounts of data that have been 
processed by CryptoJS by simply sending the binary data instead of a string 
which contains Base64 encoded data.

The conversion between the word array and the ArrayBuffer might not be that 
performant, but i like it better than  handling huge strings and blowing the 
input data at almost 1 1/2 of the original size.

Original issue reported on code.google.com by fc.kl...@googlemail.com on 17 Jan 2013 at 11:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant