Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
src /
crypto /
aes /
[ HOME SHELL ]
Name
Size
Permission
Action
aes_gcm.go
5.72
KB
-rw-r--r--
aes_test.go
11.3
KB
-rw-r--r--
asm_amd64.s
5.4
KB
-rw-r--r--
asm_arm64.s
6.86
KB
-rw-r--r--
asm_ppc64le.s
20.17
KB
-rw-r--r--
asm_s390x.s
4.38
KB
-rw-r--r--
block.go
6.5
KB
-rw-r--r--
cbc_s390x.go
1.57
KB
-rw-r--r--
cipher.go
1.85
KB
-rw-r--r--
cipher_asm.go
2.32
KB
-rw-r--r--
cipher_generic.go
740
B
-rw-r--r--
cipher_ppc64le.go
2.07
KB
-rw-r--r--
cipher_s390x.go
2.6
KB
-rw-r--r--
const.go
29.32
KB
-rw-r--r--
ctr_s390x.go
2.44
KB
-rw-r--r--
gcm_amd64.s
23.42
KB
-rw-r--r--
gcm_arm64.s
21.52
KB
-rw-r--r--
gcm_ppc64le.go
6.7
KB
-rw-r--r--
gcm_ppc64le.s
12.78
KB
-rw-r--r--
gcm_s390x.go
11.35
KB
-rw-r--r--
modes.go
1.15
KB
-rw-r--r--
modes_test.go
3.48
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cipher.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package aes import ( "crypto/cipher" "crypto/internal/subtle" "strconv" ) // The AES block size in bytes. const BlockSize = 16 // A cipher is an instance of AES encryption using a particular key. type aesCipher struct { enc []uint32 dec []uint32 } type KeySizeError int func (k KeySizeError) Error() string { return "crypto/aes: invalid key size " + strconv.Itoa(int(k)) } // NewCipher creates and returns a new cipher.Block. // The key argument should be the AES key, // either 16, 24, or 32 bytes to select // AES-128, AES-192, or AES-256. func NewCipher(key []byte) (cipher.Block, error) { k := len(key) switch k { default: return nil, KeySizeError(k) case 16, 24, 32: break } return newCipher(key) } // newCipherGeneric creates and returns a new cipher.Block // implemented in pure Go. func newCipherGeneric(key []byte) (cipher.Block, error) { n := len(key) + 28 c := aesCipher{make([]uint32, n), make([]uint32, n)} expandKeyGo(key, c.enc, c.dec) return &c, nil } func (c *aesCipher) BlockSize() int { return BlockSize } func (c *aesCipher) Encrypt(dst, src []byte) { if len(src) < BlockSize { panic("crypto/aes: input not full block") } if len(dst) < BlockSize { panic("crypto/aes: output not full block") } if subtle.InexactOverlap(dst[:BlockSize], src[:BlockSize]) { panic("crypto/aes: invalid buffer overlap") } encryptBlockGo(c.enc, dst, src) } func (c *aesCipher) Decrypt(dst, src []byte) { if len(src) < BlockSize { panic("crypto/aes: input not full block") } if len(dst) < BlockSize { panic("crypto/aes: output not full block") } if subtle.InexactOverlap(dst[:BlockSize], src[:BlockSize]) { panic("crypto/aes: invalid buffer overlap") } decryptBlockGo(c.dec, dst, src) }
Close