Digital Lifestyle

Tag: source code

How to create a SHA1 hash in C#

Here is short code snippet to create a SHA1 hash in C#. The only difficult is to convert from string to byte array and back again. So i have to method, one accept the byte array direct and returns a byte array, the second method handles the convert from string to byte array and back again. Don’t forget to add the required using:

Continue reading

© 2021 Jannik Strelow

Theme by Anders NorenUp ↑