Function onejoker::cards::hashes::ojh_base64_32c

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

wiki | 32-bit positional hash

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

let h = Hand::default().init(hand!("2s","2h","2c","2d","Kc"));
assert_eq!(187204216, ojh_base64_32c(&h[..]).unwrap());