ByteExtensions Classe
- java.
lang. Object - com.
microsoft. azure. keyvault. cryptography. ByteExtensions
- com.
public class ByteExtensions
Résumé de la méthode
Modificateur et type | Méthode et description |
---|---|
byte [] | or(byte[] self, byte[] other) |
byte [] | or(byte[] self, byte[] other, int offset) |
boolean |
sequenceEqualConstantTime(byte[] self, byte[] other)
Compare deux tableaux d’octets en temps constant. |
byte [] | xor(byte[] self, byte[] other) |
void | zero(byte[] self) |
Détails de la méthode
or
public static byte [] or(byte[] self, byte[] other)
Paramètres:
self
other
or
public static byte [] or(byte[] self, byte[] other, int offset)
Paramètres:
self
other
offset
sequenceEqualConstantTime
public static boolean sequenceEqualConstantTime(byte[] self, byte[] other)
Compare deux tableaux d’octets en temps constant.
Paramètres:
self
- Premier tableau d’octets à comparer
other
- Deuxième tableau d’octets à comparer
Retours:
True si les deux tableaux d’octets sont égaux.
xor
public static byte [] xor(byte[] self, byte[] other)
Paramètres:
self
other
zero
public static void zero(byte[] self)
Paramètres:
self
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java