login=1009512&senha=minhasenha&data=2015-05-20T09:15:38-03:00
Hi,
I am using the Det_Encrypt/Det_Decrypt actions and I need to understand what is the password meaning.
What I am trying to do is implement these actions in java using the bouncy castle library.
In my application the server will encrypt some info and I will need to decrypt it and dispaly it.
Can you explain what the password do?
Hello there,
CryptoAPI has a Java implementation, so you can just open it using your Eclipse and take it from there.
This is also available on my Github (with an added implementation for Python).
Best regards,
Ricardo Silva
Ricardo,
You say "If you want to add some encrypted field as searchable..." Does that mean on the entity?
Basically I need to be able to do Entity.EncryptedColumn like '%keyword%'
How would I get that to work?
Hello Adam,
Unfortunately, this mode of encryption would only support equality searches, not wildcard.
Since the data is encrypted, we can only check for equality. There will be no further information we can use as to the structure of the encrypted data.
There may be other techniques that are able to achieve that, but the one I used in my component is not one such technique.
Thank you Ricardo!
Is it possible to encrypt binary data? It looks like only text is possible.
Is there anything to convert binary to text?
Hi Ricardo,
The cipher text from this lib cannot be decrypted with Java and .Net standard lib. Ardo crypto code that is provided somewhere has to be used to decrypt. Is that correct understanding?
I think I don't understand your question.
This is running on .NET and Java, using only standard functions and available algorithms. You can decrypt this using those standard functions and algorithms if you follow the encryption schema specifications I posted on the first post.
Given these specifications you should be able to build encryptors and decryptors for any language that supports AES in CBC mode, or even implement AES and CBC mode yourself given the specification.
If you are using Java, .NET or python, you can use the libraries I have already provided for those languages which save you the trouble of reimplementing all of this. You can find those in by GitHub.
Is CryptoAPI support SHA3 hash?
Hi Ricado,
i'm using this API to decryp a password from a QR code and it work perfect but at some point im gettin a decryption failed error, invalid lenght for base-64 char and the input is not valid base-64 string at random moments.
any sugestions?
Thanks a lot.
Can I use Deterministic encryption schema (Det_Encrypt/Det_Decrypt Actions) in version OS10? If Yes how to use it? I don't see any Det_Encrypt/Det_Decrypt Actions there, thank you.
give me more tips......