c# - BouncyCastle Symmetric Cipher algorithm with output same length as input -


i'm trying create bouncycastle cipher algorithm using csharp api meets following criteria:

  • output same length input
  • small variations in input (a few bytes) produce large variation in output
  • handles small input (between 10 , 16 bytes)

any appreciated

edit: have tried aes/ctr/nopadding while meets first , third criteria doesn't meet second - repeated encryption small variations in input produced minor changes in output.


Comments

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -