diff --git a/Cargo.toml b/Cargo.toml
index 7e9442a..c452515 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,7 @@ authors = [
[dependencies]
async-trait = "0.1.59"
rand = "0.8.5"
-base64 = "0.20.0"
+base64 = "0.22.0"
sha2 = "0.10.6"
hmac = "0.12.1"
serde_json = "1.0.89"
diff --git a/src/cookie_store.rs b/src/cookie_store.rs
index ff6eaa5..d739f2b 100644
--- a/src/cookie_store.rs
+++ b/src/cookie_store.rs
@@ -1,4 +1,5 @@
use crate::{async_trait, Result, Session, SessionStore};
+use base64::{engine::general_purpose::STANDARD, Engine as _};
/// A session store that serializes the entire session into a Cookie.
///
@@ -32,14 +33,14 @@ impl CookieStore {
#[async_trait]
impl SessionStore for CookieStore {
async fn load_session(&self, cookie_value: String) -> Result