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_RANDOM_H_ #define SRC_CRYPTO_CRYPTO_RANDOM_H_ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "base_object.h" #include "crypto/crypto_util.h" #include "env.h" #include "memory_tracker.h" #include "node_internals.h" #include "v8.h" namespace node { namespace crypto { struct RandomBytesConfig final : public MemoryRetainer { unsigned char* buffer; size_t size; SET_NO_MEMORY_INFO() SET_MEMORY_INFO_NAME(RandomBytesConfig) SET_SELF_SIZE(RandomBytesConfig) }; struct RandomBytesTraits final { using AdditionalParameters = RandomBytesConfig; static constexpr const char* JobName = "RandomBytesJob"; static constexpr AsyncWrap::ProviderType Provider = AsyncWrap::PROVIDER_RANDOMBYTESREQUEST; static v8::Maybe<bool> AdditionalConfig( CryptoJobMode mode, const v8::FunctionCallbackInfo<v8::Value>& args, unsigned int offset, RandomBytesConfig* params); static bool DeriveBits( Environment* env, const RandomBytesConfig& params, ByteSource* out_); static v8::Maybe<bool> EncodeOutput( Environment* env, const RandomBytesConfig& params, ByteSource* unused, v8::Local<v8::Value>* result); }; using RandomBytesJob = DeriveBitsJob<RandomBytesTraits>; struct RandomPrimeConfig final : public MemoryRetainer { BignumPointer prime; BignumPointer rem; BignumPointer add; int bits; bool safe; void MemoryInfo(MemoryTracker* tracker) const override; SET_MEMORY_INFO_NAME(RandomPrimeConfig) SET_SELF_SIZE(RandomPrimeConfig) }; struct RandomPrimeTraits final { using AdditionalParameters = RandomPrimeConfig; static constexpr const char* JobName = "RandomPrimeJob"; static constexpr AsyncWrap::ProviderType Provider = AsyncWrap::PROVIDER_RANDOMPRIMEREQUEST; static v8::Maybe<bool> AdditionalConfig( CryptoJobMode mode, const v8::FunctionCallbackInfo<v8::Value>& args, unsigned int offset, RandomPrimeConfig* params); static bool DeriveBits( Environment* env, const RandomPrimeConfig& params, ByteSource* out_); static v8::Maybe<bool> EncodeOutput( Environment* env, const RandomPrimeConfig& params, ByteSource* unused, v8::Local<v8::Value>* result); }; using RandomPrimeJob = DeriveBitsJob<RandomPrimeTraits>; struct CheckPrimeConfig final : public MemoryRetainer { BignumPointer candidate; int checks = 1; void MemoryInfo(MemoryTracker* tracker) const override; SET_MEMORY_INFO_NAME(CheckPrimeConfig) SET_SELF_SIZE(CheckPrimeConfig) }; struct CheckPrimeTraits final { using AdditionalParameters = CheckPrimeConfig; static constexpr const char* JobName = "CheckPrimeJob"; static constexpr AsyncWrap::ProviderType Provider = AsyncWrap::PROVIDER_CHECKPRIMEREQUEST; static v8::Maybe<bool> AdditionalConfig( CryptoJobMode mode, const v8::FunctionCallbackInfo<v8::Value>& args, unsigned int offset, CheckPrimeConfig* params); static bool DeriveBits( Environment* env, const CheckPrimeConfig& params, ByteSource* out); static v8::Maybe<bool> EncodeOutput( Environment* env, const CheckPrimeConfig& params, ByteSource* out, v8::Local<v8::Value>* result); }; using CheckPrimeJob = DeriveBitsJob<CheckPrimeTraits>; namespace Random { void Initialize(Environment* env, v8::Local<v8::Object> target); void RegisterExternalReferences(ExternalReferenceRegistry* registry); } // namespace Random } // namespace crypto } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #endif // SRC_CRYPTO_CRYPTO_RANDOM_H_