| Crates.io | xynth |
| lib.rs | xynth |
| version | 0.2.0 |
| created_at | 2023-11-26 20:00:24.487182+00 |
| updated_at | 2024-07-27 17:57:48.203514+00 |
| description | Xynth is an ASIC/GPU-resistant cryptographic hashing algorithm written in pure Rust for x64 CPUs with AVX2 support |
| homepage | |
| repository | https://github.com/ImmortalOctogen/Xynth |
| max_upload_size | |
| id | 1049412 |
| size | 48,531 |
[!IMPORTANT] The resources listed above are mostly written in Russian
Xynth is a hashing algorithm, that runs large program on virtual VLIW (128 bit) CPU machine. Program code depends on input data. Xynth is developed for the same purpose, as RandomX - to avoid processing algo on GPU and ASIC.
master - latest release
[!CAUTION] This algorithm has not been tested using cryptanalysis
Xynth - это алгоритм хэширования, который запускает большую программу на виртуальном VLIW (128-битном) процессоре. Программный код зависит от входных данных. Xynth разработан с той же целью, что и RandomX - чтобы избежать обрабатывания алгоритма на GPU и ASIC.
master - последний релиз
[!CAUTION] Этот алгоритм не был протестирован с помощью криптоанализа
use xynth::XynthVM;
fn main() {
let mut m: XynthVM = XynthVM::new();
let a;
let b;
unsafe {
a = m.hash(&1i32.to_le_bytes(), xynth::HashLength::H256, None);
b = m.hash(&2i32.to_le_bytes(), xynth::HashLength::H256, None);
}
assert!(a != b)
}
Latest rustc night build :c