Function onejoker::cards::hashes::ojh_fnv_64
source ยท pub fn ojh_fnv_64(cards: &[Card]) -> Result<u64>
Expand description
wiki | 64-bit FNV-1a hash
use onejoker::prelude::*;
use onejoker::cards::hashes::*;
let h = Hand::default().init(hand!("Ac","Kc","Qc","Jc","Tc"));
assert_eq!(18055603845018456331, ojh_fnv_64(&h[..]).unwrap());