Develop first version #1
							
								
								
									
										2
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							@@ -478,7 +478,7 @@ checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317"
 | 
			
		||||
 | 
			
		||||
[[package]]
 | 
			
		||||
name = "light-openid"
 | 
			
		||||
version = "0.2.0-alpha"
 | 
			
		||||
version = "0.2.1-alpha"
 | 
			
		||||
dependencies = [
 | 
			
		||||
 "aes-gcm",
 | 
			
		||||
 "base64",
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
[package]
 | 
			
		||||
name = "light-openid"
 | 
			
		||||
version = "0.2.0-alpha"
 | 
			
		||||
version = "0.2.1-alpha"
 | 
			
		||||
edition = "2021"
 | 
			
		||||
repository = "https://gitea.communiquons.org/pierre/light-openid"
 | 
			
		||||
authors = ["Pierre HUBERT <pierre.git@communiquons.org>"]
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@ use aes_gcm::aead::{Aead, OsRng};
 | 
			
		||||
use aes_gcm::{Aes256Gcm, Key, KeyInit, Nonce};
 | 
			
		||||
use base64::engine::general_purpose::STANDARD as BASE64_STANDARD;
 | 
			
		||||
use base64::Engine as _;
 | 
			
		||||
pub use bincode::{Decode, Encode};
 | 
			
		||||
use bincode::{Decode, Encode};
 | 
			
		||||
use rand::Rng;
 | 
			
		||||
 | 
			
		||||
/// The lenght of the nonce used to initialize encryption
 | 
			
		||||
 
 | 
			
		||||
@@ -9,3 +9,6 @@ pub mod primitives;
 | 
			
		||||
 | 
			
		||||
#[cfg(feature = "crypto-wrapper")]
 | 
			
		||||
pub mod crypto_wrapper;
 | 
			
		||||
 | 
			
		||||
#[cfg(feature = "crypto-wrapper")]
 | 
			
		||||
pub use bincode;
 | 
			
		||||
		Reference in New Issue
	
	Block a user