mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
882d5535e6
* refactor: extract data model from flowy-sync crate * chore: rename lib-infra features
6 lines
119 B
Rust
6 lines
119 B
Rust
#[inline]
|
|
pub fn md5<T: AsRef<[u8]>>(data: T) -> String {
|
|
let md5 = format!("{:x}", md5::compute(data));
|
|
md5
|
|
}
|