Salut.

Je cherche à convertir une chaine en chaine crypté.
J'ai regardé chez microsoft, voir code suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
Function MD5hash(data() As Byte) As Byte()
    ' This is one implementation of the abstract class MD5.
    Dim md5 As New MD5CryptoServiceProvider()
 
    Dim result As Byte() = md5.ComputeHash(data)
 
    Return result
End Function
Je ne comprend pas pourquoi ils utilisent le type 'byte'...
Est-il possible de convertir en string (entrée et sortie)?