Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>there is a very clear example in the bottom of this <a href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.rsacryptoserviceprovider.aspx" rel="nofollow">MSDN reference</a><br> In more clear words, you need to use <a href="http://en.wikipedia.org/wiki/RSA" rel="nofollow">RSA</a> with a hashing algorithm such as <a href="http://en.wikipedia.org/wiki/SHA" rel="nofollow">SHA1</a> in the previous example. The use of SHA algorithms is to transform any arbitrary length string into a fixed length string and thus if your strings are 1,000,000,000 characters long for example .. you won't need 1,000,000,000 bytes to store them. You will only need to store the resulting string after applying SHA algorithms which is 160 characters in the case of SHA1. I think in ur case you need only to hash and not to encrypt.The benefit of using SHA algorithms is to secure your encoded data. otherwise, any smart dude will be able to decrypt your encrypted string. </p> <p><strong>EDIT</strong><br> As you are requiring a resulting hash that is less in length than the famous hashing functions, There are several ways, one famous way is to <strong>XOR</strong> the first 22 bytes of the resulting hash in a <strong>For</strong> loop to the end of the original hash. That will make u end up with a 22-character string. <strong>However</strong> that's not advised as the less characters your hash is, the more chance that you will have a collision or a resulting less-length hash that is similar to another one in your system.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload