Function onejoker::cards::hashes::ojh_prime_64co
source ยท pub fn ojh_prime_64co(cards: &[Card]) -> Result<u64>
Expand description
wiki | 64-bit prime hash
use onejoker::prelude::*;
use onejoker::cards::hashes::*;
let h = Hand::default().init(hand!("Kc","Qd","Jh","Ts","9h"));
assert_eq!(529321587761, ojh_prime_64co(&h[..]).unwrap());