#[repr(u32)]pub enum Algorithm {
Show 79 variants
AesEcbNopad = 268_435_472,
AesCbcNopad = 268_435_728,
AesCtr = 268_435_984,
AesCts = 268_436_240,
AesXts = 268_436_496,
AesCbcMacNopad = 805_306_640,
AesCbcMacPkcs5 = 805_307_664,
AesCmac = 805_307_920,
AesCcm = 1_073_743_632,
AesGcm = 1_073_743_888,
DesEcbNopad = 268_435_473,
DesCbcNopad = 268_435_729,
DesCbcMacNopad = 805_306_641,
DesCbcMacPkcs5 = 805_307_665,
Des3EcbNopad = 268_435_475,
Des3CbcNopad = 268_435_731,
Des3CbcMacNopad = 805_306_643,
Des3CbcMacPkcs5 = 805_307_667,
RsassaPkcs1V1_5Md5 = 1_879_054_384,
RsassaPkcs1V1_5Sha1 = 1_879_058_480,
RsassaPkcs1V1_5Sha224 = 1_879_062_576,
RsassaPkcs1V1_5Sha256 = 1_879_066_672,
RsassaPkcs1V1_5Sha384 = 1_879_070_768,
RsassaPkcs1V1_5Sha512 = 1_879_074_864,
RsassaPkcs1V1_5Sha3_224 = 1_879_083_056,
RsassaPkcs1V1_5Sha3_256 = 1_879_087_152,
RsassaPkcs1V1_5Sha3_384 = 1_879_091_248,
RsassaPkcs1V1_5Sha3_512 = 1_879_095_344,
RsassaPkcs1PssMgf1Sha1 = 1_881_221_424,
RsassaPkcs1PssMgf1Sha224 = 1_882_274_096,
RsassaPkcs1PssMgf1Sha256 = 1_883_326_768,
RsassaPkcs1PssMgf1Sha384 = 1_884_379_440,
RsassaPkcs1PssMgf1Sha512 = 1_885_432_112,
RsassaPkcs1PssMgf1Sha3_224 = 1_887_537_456,
RsassaPkcs1PssMgf1Sha3_256 = 1_888_590_128,
RsassaPkcs1PssMgf1Sha3_384 = 1_889_642_800,
RsassaPkcs1PssMgf1Sha3_512 = 1_890_695_472,
RsaesPkcs1V1_5 = 1_610_613_040,
RsaesPkcs1OaepMgf1Sha1 = 1_612_775_984,
RsaesPkcs1OaepMgf1Sha224 = 1_613_824_560,
RsaesPkcs1OaepMgf1Sha256 = 1_614_873_136,
RsaesPkcs1OaepMgf1Sha384 = 1_615_921_712,
RsaesPkcs1OaepMgf1Sha512 = 1_616_970_288,
RsaesPkcs1OaepMgf1Sha3_224 = 1_619_067_440,
RsaesPkcs1OaepMgf1Sha3_256 = 1_620_116_016,
RsaesPkcs1OaepMgf1Sha3_384 = 1_621_164_592,
RsaesPkcs1OaepMgf1Sha3_512 = 1_622_213_168,
RsaNopad = 1_610_612_784,
DsaSha1 = 1_879_056_689,
DsaSha224 = 1_879_060_785,
DsaSha256 = 1_879_064_881,
DsaSha3_224 = 1_879_081_265,
DsaSha3_256 = 1_879_085_361,
DsaSha3_384 = 1_879_089_457,
DsaSha3_512 = 1_879_093_553,
DhDeriveSharedSecret = 2_147_483_698,
Md5 = 1_342_177_281,
Sha1 = 1_342_177_282,
Sha224 = 1_342_177_283,
Sha256 = 1_342_177_284,
Sha384 = 1_342_177_285,
Sha512 = 1_342_177_286,
Sha3_224 = 1_342_177_288,
Sha3_256 = 1_342_177_289,
Sha3_384 = 1_342_177_290,
Sha3_512 = 1_342_177_291,
HmacMd5 = 805_306_369,
HmacSha1 = 805_306_370,
HmacSha224 = 805_306_371,
HmacSha256 = 805_306_372,
HmacSha384 = 805_306_373,
HmacSha512 = 805_306_374,
HmacSha3_224 = 805_306_376,
HmacSha3_256 = 805_306_377,
HmacSha3_384 = 805_306_378,
HmacSha3_512 = 805_306_379,
Hkdf = 2_147_483_719,
Shake128 = 1_342_177_537,
Shake256 = 1_342_177_538,
}
Variants§
AesEcbNopad = 268_435_472
AesCbcNopad = 268_435_728
AesCtr = 268_435_984
AesCts = 268_436_240
AesXts = 268_436_496
AesCbcMacNopad = 805_306_640
AesCbcMacPkcs5 = 805_307_664
AesCmac = 805_307_920
AesCcm = 1_073_743_632
AesGcm = 1_073_743_888
DesEcbNopad = 268_435_473
DesCbcNopad = 268_435_729
DesCbcMacNopad = 805_306_641
DesCbcMacPkcs5 = 805_307_665
Des3EcbNopad = 268_435_475
Des3CbcNopad = 268_435_731
Des3CbcMacNopad = 805_306_643
Des3CbcMacPkcs5 = 805_307_667
RsassaPkcs1V1_5Md5 = 1_879_054_384
RsassaPkcs1V1_5Sha1 = 1_879_058_480
RsassaPkcs1V1_5Sha224 = 1_879_062_576
RsassaPkcs1V1_5Sha256 = 1_879_066_672
RsassaPkcs1V1_5Sha384 = 1_879_070_768
RsassaPkcs1V1_5Sha512 = 1_879_074_864
RsassaPkcs1V1_5Sha3_224 = 1_879_083_056
RsassaPkcs1V1_5Sha3_256 = 1_879_087_152
RsassaPkcs1V1_5Sha3_384 = 1_879_091_248
RsassaPkcs1V1_5Sha3_512 = 1_879_095_344
RsassaPkcs1PssMgf1Sha1 = 1_881_221_424
RsassaPkcs1PssMgf1Sha224 = 1_882_274_096
RsassaPkcs1PssMgf1Sha256 = 1_883_326_768
RsassaPkcs1PssMgf1Sha384 = 1_884_379_440
RsassaPkcs1PssMgf1Sha512 = 1_885_432_112
RsassaPkcs1PssMgf1Sha3_224 = 1_887_537_456
RsassaPkcs1PssMgf1Sha3_256 = 1_888_590_128
RsassaPkcs1PssMgf1Sha3_384 = 1_889_642_800
RsassaPkcs1PssMgf1Sha3_512 = 1_890_695_472
RsaesPkcs1V1_5 = 1_610_613_040
RsaesPkcs1OaepMgf1Sha1 = 1_612_775_984
RsaesPkcs1OaepMgf1Sha224 = 1_613_824_560
RsaesPkcs1OaepMgf1Sha256 = 1_614_873_136
RsaesPkcs1OaepMgf1Sha384 = 1_615_921_712
RsaesPkcs1OaepMgf1Sha512 = 1_616_970_288
RsaesPkcs1OaepMgf1Sha3_224 = 1_619_067_440
RsaesPkcs1OaepMgf1Sha3_256 = 1_620_116_016
RsaesPkcs1OaepMgf1Sha3_384 = 1_621_164_592
RsaesPkcs1OaepMgf1Sha3_512 = 1_622_213_168
RsaNopad = 1_610_612_784
DsaSha1 = 1_879_056_689
DsaSha224 = 1_879_060_785
DsaSha256 = 1_879_064_881
DsaSha3_224 = 1_879_081_265
DsaSha3_256 = 1_879_085_361
DsaSha3_384 = 1_879_089_457
DsaSha3_512 = 1_879_093_553
Md5 = 1_342_177_281
Sha1 = 1_342_177_282
Sha224 = 1_342_177_283
Sha256 = 1_342_177_284
Sha384 = 1_342_177_285
Sha512 = 1_342_177_286
Sha3_224 = 1_342_177_288
Sha3_256 = 1_342_177_289
Sha3_384 = 1_342_177_290
Sha3_512 = 1_342_177_291
HmacMd5 = 805_306_369
HmacSha1 = 805_306_370
HmacSha224 = 805_306_371
HmacSha256 = 805_306_372
HmacSha384 = 805_306_373
HmacSha512 = 805_306_374
HmacSha3_224 = 805_306_376
HmacSha3_256 = 805_306_377
HmacSha3_384 = 805_306_378
HmacSha3_512 = 805_306_379
Hkdf = 2_147_483_719
Shake128 = 1_342_177_537
Shake256 = 1_342_177_538
Trait Implementations§
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)