Comments (2)
From Wikipedia, "CFB, OFB and CTR modes do not require any special measures to handle messages whose lengths are not multiples of the block size, since the modes work by XORing the plaintext with the output of the block cipher. The last partial block of plaintext is XORed with the first few bytes of the last keystream block, producing a final ciphertext block that is the same size as the final partial plaintext block. This characteristic of stream ciphers makes them suitable for applications that require the encrypted ciphertext data to be the same size as the original plaintext data, and for applications that transmit data in streaming form where it is inconvenient to add padding bytes."
http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation
from spongycastle-old.
Hi @sbheinric - Spongy Castle is a repackage of the Bouncy Castle libraries intended specifically for Android, which ships with a crippled version of Bouncy Castle. This means it's best if you submit this issue to the upstream project, using the dev-crypto mailing list:
http://www.bouncycastle.org/mailing_lists.html
Once the issue's been resolved, I can release an updated version of Spongy Castle based on the fixed version of Bouncy Castle.
from spongycastle-old.
Related Issues (15)
- Build fails due to missing directories HOT 4
- Update instructions to ensure Spongy Castle provider takes precedence HOT 4
- Message-digest attribute Exception HOT 1
- Digital sign on android > 4.x HOT 4
- JAR verification fails HOT 3
- Update SC to latest version (SC is very out of date) (was: Status of 1.48 and 1.49 support) HOT 8
- javax.naming references in X509LDAPCertStoreSpi? HOT 3
- Add OpenPGP Keychain to projects HOT 2
- Support release 1.47 HOT 2
- Need bcmail jar for Android HOT 5
- Preserving the license agreements unchanged HOT 3
- scmail uses java.awt classes not available in Android HOT 4
- Test failures in the maven build HOT 2
- PKCS10CertificationRequestBuilder generates invalid PKCS10CertificationRequest in org.spongycastle.pkcs? HOT 1
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 spongycastle-old.