mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -05:00
#385 issue resolved
replaced md5 hashing algorithm with sha-256 hashing algorithm
This commit is contained in:
parent
0facfdbd56
commit
dc5fa842c0
@ -27,7 +27,7 @@ env_logger = {version="0.10.0", default-features=false}
|
|||||||
log = {version="0.4.20", default-features=false}
|
log = {version="0.4.20", default-features=false}
|
||||||
mlua = {version="0.9.1", features=["luajit", "vendored"], default-features=false}
|
mlua = {version="0.9.1", features=["luajit", "vendored"], default-features=false}
|
||||||
redis = {version="0.23.3", features=["tokio-comp","connection-manager"], default-features = false, optional = true}
|
redis = {version="0.23.3", features=["tokio-comp","connection-manager"], default-features = false, optional = true}
|
||||||
md5 = {version="0.7.0", default-features=false}
|
sha256 = {version="1.4.0", default-features=false}
|
||||||
error-stack = {version="0.4.0", default-features=false, features=["std"]}
|
error-stack = {version="0.4.0", default-features=false, features=["std"]}
|
||||||
async-trait = {version="0.1.73", default-features=false}
|
async-trait = {version="0.1.73", default-features=false}
|
||||||
regex = {version="1.9.4", features=["perf"], default-features = false}
|
regex = {version="1.9.4", features=["perf"], default-features = false}
|
||||||
|
2
src/cache/redis_cacher.rs
vendored
2
src/cache/redis_cacher.rs
vendored
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
use error_stack::Report;
|
use error_stack::Report;
|
||||||
use futures::future::try_join_all;
|
use futures::future::try_join_all;
|
||||||
use md5::compute;
|
use sha256::digest;
|
||||||
use redis::{aio::ConnectionManager, AsyncCommands, Client, RedisError};
|
use redis::{aio::ConnectionManager, AsyncCommands, Client, RedisError};
|
||||||
|
|
||||||
use super::error::CacheError;
|
use super::error::CacheError;
|
||||||
|
Loading…
Reference in New Issue
Block a user