diff --git a/lib/src/fnc/crypto.rs b/lib/src/fnc/crypto.rs index 29fa69bf..36ccaa83 100644 --- a/lib/src/fnc/crypto.rs +++ b/lib/src/fnc/crypto.rs @@ -67,21 +67,6 @@ pub mod argon2 { } } -pub mod bcrypt { - - use crate::dbs::Runtime; - use crate::err::Error; - use crate::sql::value::Value; - - pub fn cmp(_: &Runtime, _args: Vec) -> Result { - todo!() - } - - pub fn gen(_: &Runtime, _args: Vec) -> Result { - todo!() - } -} - pub mod pbkdf2 { use crate::dbs::Runtime; diff --git a/lib/src/fnc/mod.rs b/lib/src/fnc/mod.rs index ab35ea84..9ebb96d2 100644 --- a/lib/src/fnc/mod.rs +++ b/lib/src/fnc/mod.rs @@ -41,8 +41,6 @@ pub async fn run(ctx: &Runtime, name: &String, args: Vec) -> Result args::check(ctx, name, args, Args::One, crypto::sha512), "crypto::argon2::compare" => args::check(ctx, name, args, Args::Two, crypto::argon2::cmp), "crypto::argon2::generate" => args::check(ctx, name, args, Args::One, crypto::argon2::gen), - "crypto::bcrypt::compare" => args::check(ctx, name, args, Args::Two, crypto::bcrypt::cmp), - "crypto::bcrypt::generate" => args::check(ctx, name, args, Args::One, crypto::bcrypt::gen), "crypto::pbkdf2::compare" => args::check(ctx, name, args, Args::Two, crypto::pbkdf2::cmp), "crypto::pbkdf2::generate" => args::check(ctx, name, args, Args::One, crypto::pbkdf2::gen), "crypto::scrypt::compare" => args::check(ctx, name, args, Args::Two, crypto::scrypt::cmp), diff --git a/lib/src/sql/function.rs b/lib/src/sql/function.rs index 0cfd9eb7..f9e82d09 100644 --- a/lib/src/sql/function.rs +++ b/lib/src/sql/function.rs @@ -185,8 +185,6 @@ fn function_crypto(i: &str) -> IResult<&str, &str> { tag("crypto::sha512"), tag("crypto::argon2::compare"), tag("crypto::argon2::generate"), - tag("crypto::bcrypt::compare"), - tag("crypto::bcrypt::generate"), tag("crypto::pbkdf2::compare"), tag("crypto::pbkdf2::generate"), tag("crypto::scrypt::compare"),