Comments (7)
I'm sorry for the late reply.
Then I saw that the test is actually working properly. For example, I waited 1 hour for a pdf file and opened successfully. The process takes a long time when opening high-size files.
from encrypt.
I have to check where the limitation is. Are you able to make this work using only PointyCastle?
from encrypt.
I have the exact same issue. Large files encrypted and when i decrypt the application freezes without error messages. I have to force close to restore the app.
from encrypt.
@gsifni are you able to use the PointyCastle alone without this encrypt package? This doesn't sounds to be an issue with encrypt it self.
from encrypt.
I have the exact same issue. Large files encrypted and when i decrypt the application freezes without error messages. I have to force close to restore the app.
Same here, no error message and there is no limitation in place.
So its hard to tell why you cannot pass big file, or whats the recommended
approach. I though there will be some sort of "chunked" reading of file
and partial encryption.
from encrypt.
I also notice this issue. It takes about 40 seconds on the iOS simulator with a 1.3 mb image. I tried to investigate, and here are my findings:
- It must be the encryption/decryption logic. Reading the file in memory, and writing again, is fast < 300ms.
- Executing encryption in a separate isolate (as described here: https://flutter.dev/docs/cookbook/networking/background-parsing) is about 3-4 seconds faster, but still very slow. But at least it doesn't cause the application to hang.
I guess anything based o PointyCastle will have the same issue, we would need to look for alternatives. I'm afraid I will have to resort to platform specific code...
from encrypt.
Actually, I've just found something, take a look here: #126 (comment).
from encrypt.
Related Issues (20)
- How can I do that ? (AES/PBKDF2)
- [Question] Have any way to decrypt from javascript with flutter encrypt? HOT 1
- AES-GCM HOT 2
- how to handle spaces ? HOT 2
- RSA OAEP SHA256 HOT 1
- AES128 produces result longer than 16 bytes in Flutter Encrypt package
- [QUESTION] How is encryption implemented on iOS (for export compliance)? HOT 3
- How to use the AES-256-CBC method? HOT 1
- Request to publish new version to support sdk >=2.18 version
- Unsupported operation: Uint64 accessor not supported by dart2js.
- RSA OAEP SHA256 HOT 1
- Percentage of the encrypt and decrypt process
- How Can I use AES with PKCS5 padding?
- The method .fromLength hasn't been updated to be cryptographically-secure in the pub package HOT 1
- Cant decrypt AES stored value HOT 1
- How to decrypt the decrypted string HOT 1
- flutter encrypt [RSA/ECB/OAEPWithSHA-256AndMGF1Padding]
- FileSystemException: Cannot open file, path = 'test/public.pem' (OS Error: No such file or directory, errno = 2)
- I keep getting unrecognizable characters when I decrypt an encryption from crypto-js HOT 1
- Improvement security
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 encrypt.