summaryrefslogtreecommitdiff
path: root/ext/crypto/decrypt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crypto/decrypt.rs')
-rw-r--r--ext/crypto/decrypt.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/crypto/decrypt.rs b/ext/crypto/decrypt.rs
index c83ff55bd..6c4d5b6ba 100644
--- a/ext/crypto/decrypt.rs
+++ b/ext/crypto/decrypt.rs
@@ -1,4 +1,5 @@
-use crate::shared::*;
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
use aes::cipher::block_padding::Pkcs7;
use aes::cipher::BlockDecryptMut;
use aes::cipher::KeyIvInit;
@@ -29,6 +30,8 @@ use sha2::Sha256;
use sha2::Sha384;
use sha2::Sha512;
+use crate::shared::*;
+
#[derive(Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct DecryptOptions {