Function onejoker::cards::hashes::ojh_base64_64c

source ยท
pub fn ojh_base64_64c(cards: &[Card]) -> Result<u64>
Expand description

wiki | 64-bit positional hash

use onejoker::prelude::*;
use onejoker::cards::hashes::*;

let h = Hand::default().init(hand!("Qc","Qd","Qs","Tc","Th"));
assert_eq!(886536746, ojh_base64_64c(&h[..]).unwrap());