Update and rename sha256_core to accept ~[u8] instead of ~str