Tso tawm ntawm Sodium cryptographic tsev qiv ntawv 1.0.18

Muaj tso tawm lub tsev qiv ntawv dawb cryptographic sodium 1.0.18, uas yog API tau tshaj nrog lub tsev qiv ntawv NaCl (Networking and Cryptography library) thiab muab lub luag haujlwm rau kev teeb tsa kev sib txuas lus network ruaj ntseg, hashing, tsim cov lej pseudo-random, ua haujlwm nrog cov kos npe digital, thiab encryption siv cov ntaub ntawv pov thawj pej xeem thiab sib luag (shared-key) yuam sij. Lub Sodium API yog qhov yooj yim thiab muaj cov kev xaiv ruaj ntseg tshaj plaws, encryption thiab hashing txoj kev los ntawm lub neej ntawd. Lub tsev qiv ntawv code faib los ntawm raws li daim ntawv tso cai ISC dawb.

Main innovations:

  • Ntxiv tshiab WebAssembly/WASI lub hom phiaj platform (interface WASI siv WebAssembly sab nraum browser);
  • Ntawm cov tshuab nrog kev txhawb nqa rau AVX2 cov lus qhia, kev ua haujlwm ntawm kev ua haujlwm yooj yim hashing tau nce li ntawm 10%.
  • Ntxiv kev txhawb nqa rau lub tsev siv Visual Studio 2019;
  • Siv cov haujlwm tshiab core_ed25519_from_hash() thiab core_ed25519_random() kom muaj kev cuam tshuam tus hash mus rau edwards25519 taw tes lossis tau txais qhov random edwards25519 point;
  • Ntxiv muaj nuj nqi crypto_core_ed25519_scalar_mul() rau scalar * scalar multiplication (mod L);
  • Ntxiv kev txhawb nqa rau pawg ntawm tus lej tseem ceeb Ristretto, tsim nyog rau kev sib raug zoo nrog wasm-crypto;
  • Enabled siv qhov system hu getenttropy() ntawm cov tshuab txhawb nqa nws;
  • Kev them nyiaj yug rau NativeClient thev naus laus zis tau raug txiav tawm, kev txhim kho ntawm qhov twg txiav tawm hauv kev pom zoo ntawm WebAssembly;
  • Thaum lub tsev, cov kev xaiv compiler "-ftree-vectorize" thiab "-ftree-slp-vectorize" tau qhib.

Tau qhov twg los: opennet.ru

Ntxiv ib saib