I have been tasked with getting a string to encrypted to a certain length. Ideally....the function should take as parameters...
- String to be encrypted of variable size
- the length of the resulting encrypted string
It does not need to be decrypted. I've been looking at SHA384, but I've been unable to understand the samples online to the point of modifying it to make it hash to a specified length.