kanav99 / aes.jl Goto Github PK
View Code? Open in Web Editor NEWAdvanced Encryption Standard On-the-Fly mode in Julia
License: MIT License
Advanced Encryption Standard On-the-Fly mode in Julia
License: MIT License
ECB mode does not have the functionality to remove the padding from the plaintext while decrypting.
Hi, I found this thread that mentioned this package could be used to generate random permutations lazily. Was this ever implemented? @kanav99 @narendrakpatel
For example: Add @inline here - https://github.com/kanav99/Rijndael.jl/blob/master/src/modes/CTR.jl#L31
Hi, would you be interested in moving this to JuliaCrypto? This would improve its visibility, and possibly let other maintainers help with the package or making improvements to it. Thanks!
Julia Strings are by default UTF-8 encoded and thus can't simply be used like arrays of UInt8. The code currently assumes that any character in a given String can be converted to UInt8 without a problem, but this doesn't work:
julia> str = "UTF-8! ๐"
"UTF-8! ๐"
julia> cipher = AESCipher();
julia> encrypt(str, cipher)
ERROR: InexactError: trunc(UInt8, 128521)
[...]
I've forked this project and I'm trying to fix this properly, but that has exposed some other problems as well - I'll try to make a PR if I get this and the other problems exposed by this fixed.
Usage of @views
limits us for the case of Strings. Make a general Block
structure which helps us in the division of arbitrary data into blocks of 16 bytes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.