WIP add content defined chunking #42
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ pub trait PartitionKey {
|
||||||
|
|
||||||
impl PartitionKey for String {
|
impl PartitionKey for String {
|
||||||
fn hash(&self) -> Hash {
|
fn hash(&self) -> Hash {
|
||||||
sha256sum(self.as_bytes())
|
blake2sum(self.as_bytes())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue