encryption

Encryption with single key and decryption with multiple keys

强颜欢笑 提交于 2020-02-25 04:15:19
问题 I am searching for a mechanism which encrypt using single key. but for decryption it require multiple keys 2,3,4 and 5. Note that I want all (2,3,4 and 5) keys need to decrypt. I want to implement it in python. but i couldn't found concrete material online. I found answer encryption/decryption with multiple keys according to it i can use GnuPG for this purpose. I read GnuPG but i couldn't able to find answer to it. I found Shamir's Secret Sharing I believe it could solve my problem. But i

Encrypting a columnar transposition cipher

亡梦爱人 提交于 2020-02-24 12:00:08
问题 I'm trying to figure out how to encrypt a columnar transposition cipher in Python given a plaintext uppercase string and a number key of any length. For example, if the key is 3124 and the string is 'IHAVETWOCATS', it would organize the string like so: 3124 IHAV ETWO CATS and then return the characters in column 1 first, then column 2, etc, until finally returning the encrypted string 'HTAAWTIECVOS' . So far I know that I'll need to use an accumulator, and I've been toying with the idea of

Error After Encryptingweb.config

£可爱£侵袭症+ 提交于 2020-02-24 01:38:59
问题 I encrypted the AppSettings part of my web.config, tested it on my machine and it worked, but when I uploaded to use it online it gave me an error: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Failed to decrypt using provider 'DataProtectionConfigurationProvider'. Error message from the

Command line Jasypt client encryption 'Operation not possible'

…衆ロ難τιáo~ 提交于 2020-02-23 10:40:29
问题 I am using Jasypt to store our database passwords in our hibernate config file in non-clear-text format. Eg instead of <property name="hibernate.connection.username">user1</property> <property name="hibernate.connection.password">password1</property> I want something like <property name="hibernate.connection.username">user1</property> <property name="hibernate.connection.password">ENC(0HY4F73HFPQ85CN)</property> I am using the PBEWITHMD5ANDTRIPLEDES algorithm. I was reading up on it, and it

C# Libraries to encrypt/decrypt using AES

回眸只為那壹抹淺笑 提交于 2020-02-21 12:02:24
问题 I couldn't find aes libraries in .net framework. Is there any external libraries? thanks 回答1: You do not mention which version of the framework you are using, but since you did not immediately find System.Security.Cryptography.AesManaged, I guess you are using a version earlier than 3.5. Instead use System.Security.Cryptography.RijndaelManaged. Rijndael is the name of the algorithm that was standardized by NIST as AES. It is exactly the same algorithm (except that you can choose some

C# Libraries to encrypt/decrypt using AES

被刻印的时光 ゝ 提交于 2020-02-21 11:59:09
问题 I couldn't find aes libraries in .net framework. Is there any external libraries? thanks 回答1: You do not mention which version of the framework you are using, but since you did not immediately find System.Security.Cryptography.AesManaged, I guess you are using a version earlier than 3.5. Instead use System.Security.Cryptography.RijndaelManaged. Rijndael is the name of the algorithm that was standardized by NIST as AES. It is exactly the same algorithm (except that you can choose some

C# Libraries to encrypt/decrypt using AES

独自空忆成欢 提交于 2020-02-21 11:58:12
问题 I couldn't find aes libraries in .net framework. Is there any external libraries? thanks 回答1: You do not mention which version of the framework you are using, but since you did not immediately find System.Security.Cryptography.AesManaged, I guess you are using a version earlier than 3.5. Instead use System.Security.Cryptography.RijndaelManaged. Rijndael is the name of the algorithm that was standardized by NIST as AES. It is exactly the same algorithm (except that you can choose some

Encrypt information on Android devices (protect reasonably from access by user)

青春壹個敷衍的年華 提交于 2020-02-21 06:08:08
问题 We are in the making of an Android app, a quiz game, which we would like to cache questions + answers for when the user is offline. The problem with this is that we would need to withhold this data from the user until she has answered the questions. Otherwise, cheating would be very easy, which would harm the game. One could then extract all questions + answers and automatically submit answers to the server API. The most convenient way would be to retrieve a key or secret from our server at

Encrypt information on Android devices (protect reasonably from access by user)

烈酒焚心 提交于 2020-02-21 06:07:05
问题 We are in the making of an Android app, a quiz game, which we would like to cache questions + answers for when the user is offline. The problem with this is that we would need to withhold this data from the user until she has answered the questions. Otherwise, cheating would be very easy, which would harm the game. One could then extract all questions + answers and automatically submit answers to the server API. The most convenient way would be to retrieve a key or secret from our server at

Encrypt information on Android devices (protect reasonably from access by user)

a 夏天 提交于 2020-02-21 06:06:02
问题 We are in the making of an Android app, a quiz game, which we would like to cache questions + answers for when the user is offline. The problem with this is that we would need to withhold this data from the user until she has answered the questions. Otherwise, cheating would be very easy, which would harm the game. One could then extract all questions + answers and automatically submit answers to the server API. The most convenient way would be to retrieve a key or secret from our server at