Comments (6)
Hi, I have a project which requires AES-ECB for iOS and Android. It would be great if you could implement this mode. Thanks!
from cryptography-kotlin.
Hey @dominikkv, could you please describe a use case for AES-ECB just in case?
from cryptography-kotlin.
Hi @whyoleg, in this project we communicate with a bike lock via BT LE. During the authentication process the lock sends us a challenge, which we have to decrypt, modify, and encrypt again, to send the result back to the lock.
Thanks for considering the implementation of AES-ECB!
from cryptography-kotlin.
Thanks @dominikkv!
I will add AES-ECB to plans, though, as this algorithm is some kind of "legacy/unsafe", I'm not sure yet, what will be the best way to show this when using the library.
Still, I will try to come up with something!
from cryptography-kotlin.
Hi @whyoleg, one idea would be to annotate the function / class with a "Unsafe to use" opt-in annotation: https://kotlinlang.org/docs/opt-in-requirements.html
from cryptography-kotlin.
Yeah, that't the simplest way here...
But there are some usability issues with opt-in:
- the declarations are still present in completion
- IDEA will allow to opt-in into this in a one click - not really convenient as AFAIK users are frequently ignoring what annotation say
- API reference will still have all those declarations in one place
On current moment I thinking about introducing of additional module for this, so that if it's REALLY
needed it will be possible to add module and so use those algorithms.
But I'm not yet finalised design here, so, thanks for your comment!
from cryptography-kotlin.
Related Issues (20)
- I'm getting a build error on iOS HOT 1
- Add linuxArm64 target HOT 7
- Error in build: undefined references HOT 18
- Support RSA.PKCS1 on Apple provider HOT 7
- Build error on mingwX64 HOT 7
- JOSE support HOT 1
- BigInt improvements
- X509 certificates and PKCS12
- Key and certificates management and storage
- Integration with kotlinx.io HOT 1
- ASN.1 improvements
- Support password hashing algorithms like Argon2, PBKDF2, scrypt, bcrypt. HOT 7
- Can I set my PublicKey in "provider.get(RSA.PSS)" ? HOT 11
- Add a small guide regarding migration from JDK APIs to cryptography-kotlin APIs
- Can I signatureVerifier RSA OAEP ? HOT 1
- I have an error implementing cryptography-bom in the commonMain module HOT 6
- CRC support HOT 2
- RSA/ECB/PKCS1Padding HOT 4
- SHA256withECDSAinP1363Format Signature not available HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptography-kotlin.