From b0e492bc06bc6baa2b065db423446e77cae2784a Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Fri, 15 Oct 2021 07:44:56 -0300 Subject: [PATCH] Update sdk/src/encryption/aes.rs Co-authored-by: Michael Vines --- zk-token-sdk/src/encryption/aes.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/zk-token-sdk/src/encryption/aes.rs b/zk-token-sdk/src/encryption/aes.rs index 5cebb0166a..ed2b679a39 100644 --- a/zk-token-sdk/src/encryption/aes.rs +++ b/zk-token-sdk/src/encryption/aes.rs @@ -1,15 +1,15 @@ #[cfg(not(target_arch = "bpf"))] use rand::{rngs::OsRng, Rng}; -use aes::{ - cipher::{BlockDecrypt, BlockEncrypt, NewBlockCipher}, - Aes128, Block, +use { + aes::{ + cipher::{BlockDecrypt, BlockEncrypt, NewBlockCipher}, + Aes128, Block, + }, + arrayref::array_ref, + zeroize::Zeroize, }; -use arrayref::array_ref; - -use zeroize::Zeroize; - pub struct AES; impl AES { #[cfg(not(target_arch = "bpf"))]