Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
nodejs /
src /
crypto /
Delete
Unzip
Name
Size
Permission
Date
Action
crypto_aes.h
3.02
KB
-rw-r--r--
2024-02-13 21:40
crypto_bio.h
6.18
KB
-rw-r--r--
2024-02-13 21:40
crypto_cipher.h
9.07
KB
-rw-r--r--
2024-02-13 21:40
crypto_clienthello-inl.h
2.6
KB
-rw-r--r--
2024-02-13 21:40
crypto_clienthello.h
4.16
KB
-rw-r--r--
2024-02-13 21:40
crypto_common.h
4.35
KB
-rw-r--r--
2024-02-13 21:40
crypto_context.h
6.21
KB
-rw-r--r--
2024-02-13 21:40
crypto_dh.h
5.04
KB
-rw-r--r--
2024-02-13 21:40
crypto_dsa.h
2.19
KB
-rw-r--r--
2024-02-13 21:40
crypto_ec.h
5.1
KB
-rw-r--r--
2024-02-13 21:40
crypto_hash.h
2.46
KB
-rw-r--r--
2024-02-13 21:40
crypto_hkdf.h
1.56
KB
-rw-r--r--
2024-02-13 21:40
crypto_hmac.h
2.55
KB
-rw-r--r--
2024-02-13 21:40
crypto_keygen.h
8.99
KB
-rw-r--r--
2024-02-13 21:40
crypto_keys.h
12.28
KB
-rw-r--r--
2024-02-13 21:40
crypto_pbkdf2.h
2.01
KB
-rw-r--r--
2024-02-13 21:40
crypto_random.h
3.58
KB
-rw-r--r--
2024-02-13 21:40
crypto_rsa.h
3.92
KB
-rw-r--r--
2024-02-13 21:40
crypto_scrypt.h
2.24
KB
-rw-r--r--
2024-02-13 21:40
crypto_sig.h
4.47
KB
-rw-r--r--
2024-02-13 21:40
crypto_spkac.h
538
B
-rw-r--r--
2024-02-13 21:40
crypto_timing.h
525
B
-rw-r--r--
2024-02-13 21:40
crypto_tls.h
12.04
KB
-rw-r--r--
2024-02-13 21:40
crypto_util.h
25.27
KB
-rw-r--r--
2024-02-13 21:40
crypto_x509.h
4.77
KB
-rw-r--r--
2024-02-13 21:40
Save
Rename
#ifndef SRC_CRYPTO_CRYPTO_RSA_H_ #define SRC_CRYPTO_CRYPTO_RSA_H_ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "crypto/crypto_cipher.h" #include "crypto/crypto_keygen.h" #include "crypto/crypto_keys.h" #include "crypto/crypto_util.h" #include "env.h" #include "memory_tracker.h" #include "v8.h" namespace node { namespace crypto { enum RSAKeyVariant { kKeyVariantRSA_SSA_PKCS1_v1_5, kKeyVariantRSA_PSS, kKeyVariantRSA_OAEP }; struct RsaKeyPairParams final : public MemoryRetainer { RSAKeyVariant variant; unsigned int modulus_bits; unsigned int exponent; // The following options are used for RSA-PSS. If any of them are set, a // RSASSA-PSS-params sequence will be added to the key. const EVP_MD* md = nullptr; const EVP_MD* mgf1_md = nullptr; int saltlen = -1; SET_NO_MEMORY_INFO() SET_MEMORY_INFO_NAME(RsaKeyPairParams) SET_SELF_SIZE(RsaKeyPairParams) }; using RsaKeyPairGenConfig = KeyPairGenConfig<RsaKeyPairParams>; struct RsaKeyGenTraits final { using AdditionalParameters = RsaKeyPairGenConfig; static constexpr const char* JobName = "RsaKeyPairGenJob"; static EVPKeyCtxPointer Setup(RsaKeyPairGenConfig* params); static v8::Maybe<bool> AdditionalConfig( CryptoJobMode mode, const v8::FunctionCallbackInfo<v8::Value>& args, unsigned int* offset, RsaKeyPairGenConfig* params); }; using RSAKeyPairGenJob = KeyGenJob<KeyPairGenTraits<RsaKeyGenTraits>>; struct RSAKeyExportConfig final : public MemoryRetainer { RSAKeyVariant variant = kKeyVariantRSA_SSA_PKCS1_v1_5; SET_NO_MEMORY_INFO() SET_MEMORY_INFO_NAME(RSAKeyExportConfig) SET_SELF_SIZE(RSAKeyExportConfig) }; struct RSAKeyExportTraits final { static constexpr const char* JobName = "RSAKeyExportJob"; using AdditionalParameters = RSAKeyExportConfig; static v8::Maybe<bool> AdditionalConfig( const v8::FunctionCallbackInfo<v8::Value>& args, unsigned int offset, RSAKeyExportConfig* config); static WebCryptoKeyExportStatus DoExport( std::shared_ptr<KeyObjectData> key_data, WebCryptoKeyFormat format, const RSAKeyExportConfig& params, ByteSource* out); }; using RSAKeyExportJob = KeyExportJob<RSAKeyExportTraits>; struct RSACipherConfig final : public MemoryRetainer { CryptoJobMode mode; ByteSource label; int padding = 0; const EVP_MD* digest = nullptr; RSACipherConfig() = default; RSACipherConfig(RSACipherConfig&& other) noexcept; void MemoryInfo(MemoryTracker* tracker) const override; SET_MEMORY_INFO_NAME(RSACipherConfig) SET_SELF_SIZE(RSACipherConfig) }; struct RSACipherTraits final { static constexpr const char* JobName = "RSACipherJob"; using AdditionalParameters = RSACipherConfig; static v8::Maybe<bool> AdditionalConfig( CryptoJobMode mode, const v8::FunctionCallbackInfo<v8::Value>& args, unsigned int offset, WebCryptoCipherMode cipher_mode, RSACipherConfig* config); static WebCryptoCipherStatus DoCipher( Environment* env, std::shared_ptr<KeyObjectData> key_data, WebCryptoCipherMode cipher_mode, const RSACipherConfig& params, const ByteSource& in, ByteSource* out); }; using RSACipherJob = CipherJob<RSACipherTraits>; v8::Maybe<bool> ExportJWKRsaKey( Environment* env, std::shared_ptr<KeyObjectData> key, v8::Local<v8::Object> target); std::shared_ptr<KeyObjectData> ImportJWKRsaKey( Environment* env, v8::Local<v8::Object> jwk, const v8::FunctionCallbackInfo<v8::Value>& args, unsigned int offset); v8::Maybe<bool> GetRsaKeyDetail( Environment* env, std::shared_ptr<KeyObjectData> key, v8::Local<v8::Object> target); namespace RSAAlg { void Initialize(Environment* env, v8::Local<v8::Object> target); void RegisterExternalReferences(ExternalReferenceRegistry* registry); } // namespace RSAAlg } // namespace crypto } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #endif // SRC_CRYPTO_CRYPTO_RSA_H_