HomeSort by relevance Sort by last modified time
    Searched full:decodestring (Results 1 - 25 of 296) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/crypto/cipher/
cfb_test.go 50 key, err := hex.DecodeString(test.key)
54 iv, err := hex.DecodeString(test.iv)
58 plaintext, err := hex.DecodeString(test.plaintext)
62 expected, err := hex.DecodeString(test.ciphertext)
example_test.go 23 key, _ := hex.DecodeString("6368616e676520746869732070617373776f726420746f206120736563726574")
52 key, _ := hex.DecodeString("6368616e676520746869732070617373776f726420746f206120736563726574")
53 ciphertext, _ := hex.DecodeString("c3aaa29f002ca75870806e44086700f62ce4d43e902b3888e23ceff797a7a471")
54 nonce, _ := hex.DecodeString("64a9433eae7ccceee2fc0eda")
80 key, _ := hex.DecodeString("6368616e676520746869732070617373")
81 ciphertext, _ := hex.DecodeString("73c86d43a9d700a253a96c85b0f6b03ac9792e0e757f869cca306bd3cba1c62b")
123 key, _ := hex.DecodeString("6368616e676520746869732070617373")
162 key, _ := hex.DecodeString("6368616e676520746869732070617373")
163 ciphertext, _ := hex.DecodeString("7dd015f06bec7f1b8f6559dad89f4131da62261786845100056b353194ad")
191 key, _ := hex.DecodeString("6368616e676520746869732070617373"
    [all...]
gcm_test.go 195 key, _ := hex.DecodeString(test.key)
201 nonce, _ := hex.DecodeString(test.nonce)
202 plaintext, _ := hex.DecodeString(test.plaintext)
203 ad, _ := hex.DecodeString(test.ad)
254 key, _ := hex.DecodeString("ab72c77b97cb5fe9a382d9fe81ffdbed")
255 nonce, _ := hex.DecodeString("54cc7dc2c37ec006bcc6d1db")
256 ciphertext, _ := hex.DecodeString("0e1bde206a07a9c2c1b65300f8c649972b4401346697138c7a4891ee59867d0c")
301 nonce, _ := hex.DecodeString(test.nonce)
302 want, _ := hex.DecodeString(test.tag)
  /prebuilts/go/linux-x86/src/crypto/cipher/
cfb_test.go 50 key, err := hex.DecodeString(test.key)
54 iv, err := hex.DecodeString(test.iv)
58 plaintext, err := hex.DecodeString(test.plaintext)
62 expected, err := hex.DecodeString(test.ciphertext)
example_test.go 23 key, _ := hex.DecodeString("6368616e676520746869732070617373776f726420746f206120736563726574")
52 key, _ := hex.DecodeString("6368616e676520746869732070617373776f726420746f206120736563726574")
53 ciphertext, _ := hex.DecodeString("c3aaa29f002ca75870806e44086700f62ce4d43e902b3888e23ceff797a7a471")
54 nonce, _ := hex.DecodeString("64a9433eae7ccceee2fc0eda")
80 key, _ := hex.DecodeString("6368616e676520746869732070617373")
81 ciphertext, _ := hex.DecodeString("73c86d43a9d700a253a96c85b0f6b03ac9792e0e757f869cca306bd3cba1c62b")
123 key, _ := hex.DecodeString("6368616e676520746869732070617373")
162 key, _ := hex.DecodeString("6368616e676520746869732070617373")
163 ciphertext, _ := hex.DecodeString("7dd015f06bec7f1b8f6559dad89f4131da62261786845100056b353194ad")
191 key, _ := hex.DecodeString("6368616e676520746869732070617373"
    [all...]
gcm_test.go 195 key, _ := hex.DecodeString(test.key)
201 nonce, _ := hex.DecodeString(test.nonce)
202 plaintext, _ := hex.DecodeString(test.plaintext)
203 ad, _ := hex.DecodeString(test.ad)
254 key, _ := hex.DecodeString("ab72c77b97cb5fe9a382d9fe81ffdbed")
255 nonce, _ := hex.DecodeString("54cc7dc2c37ec006bcc6d1db")
256 ciphertext, _ := hex.DecodeString("0e1bde206a07a9c2c1b65300f8c649972b4401346697138c7a4891ee59867d0c")
301 nonce, _ := hex.DecodeString(test.nonce)
302 want, _ := hex.DecodeString(test.tag)
  /prebuilts/go/darwin-x86/src/encoding/base64/
example_test.go 19 decoded, err := base64.StdEncoding.DecodeString(encoded)
40 data, err := base64.StdEncoding.DecodeString(str)
base64_test.go 160 dbuf, err = tt.enc.DecodeString(encoded)
161 testEqual(t, "DecodeString(%q) = error %v, want %v", encoded, err, error(nil))
162 testEqual(t, "DecodeString(%q) = %q, want %q", string(dbuf), p.decoded)
345 buf, err := StdEncoding.DecodeString(e)
442 s, err := StdEncoding.DecodeString("YWJjZA=====")
448 t.Errorf("DecodeString = %q; want abcd", s)
453 _, err := StdEncoding.Strict().DecodeString("WvLTlMrX9NpYDQlEIFlnDB==")
458 _, err = StdEncoding.Strict().DecodeString("WvLTlMrX9NpYDQlEIFlnDA==")
462 _, err = StdEncoding.DecodeString("WvLTlMrX9NpYDQlEIFlnDB==")
483 StdEncoding.DecodeString(data
    [all...]
  /prebuilts/go/linux-x86/src/encoding/base64/
example_test.go 19 decoded, err := base64.StdEncoding.DecodeString(encoded)
40 data, err := base64.StdEncoding.DecodeString(str)
base64_test.go 160 dbuf, err = tt.enc.DecodeString(encoded)
161 testEqual(t, "DecodeString(%q) = error %v, want %v", encoded, err, error(nil))
162 testEqual(t, "DecodeString(%q) = %q, want %q", string(dbuf), p.decoded)
345 buf, err := StdEncoding.DecodeString(e)
442 s, err := StdEncoding.DecodeString("YWJjZA=====")
448 t.Errorf("DecodeString = %q; want abcd", s)
453 _, err := StdEncoding.Strict().DecodeString("WvLTlMrX9NpYDQlEIFlnDB==")
458 _, err = StdEncoding.Strict().DecodeString("WvLTlMrX9NpYDQlEIFlnDA==")
462 _, err = StdEncoding.DecodeString("WvLTlMrX9NpYDQlEIFlnDB==")
483 StdEncoding.DecodeString(data
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
Base64Test.java 34 private String decodeString(String in) throws Exception {
45 String dec = decodeString(b64);
85 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk"));
90 assertEquals("hello, world", decodeString(" aGVs bG8s IHdv cmxk "));
91 assertEquals("hello, world", decodeString(" aGV sbG8 sIHd vcmx k "));
92 assertEquals("hello, world", decodeString(" aG VsbG 8sIH dvcm xk "));
93 assertEquals("hello, world", decodeString(" a GVsb G8sI Hdvc mxk "));
94 assertEquals("hello, world", decodeString(" a G V s b G 8 s I H d v c m x k "));
95 assertEquals("hello, world", decodeString("_a*G_V*s_b*G_8*s_I*H_d*v_c*m_x*k_"));
96 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk"))
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/tls/
prf_test.go 26 in, _ := hex.DecodeString(test.in)
49 in, _ := hex.DecodeString(test.preMasterSecret)
50 clientRandom, _ := hex.DecodeString(test.clientRandom)
51 serverRandom, _ := hex.DecodeString(test.serverRandom)
  /prebuilts/go/linux-x86/src/crypto/tls/
prf_test.go 26 in, _ := hex.DecodeString(test.in)
49 in, _ := hex.DecodeString(test.preMasterSecret)
50 clientRandom, _ := hex.DecodeString(test.clientRandom)
51 serverRandom, _ := hex.DecodeString(test.serverRandom)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
base64_codec.py 42 output = base64.decodestring(input)
60 return base64.decodestring(input)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
base64_codec.py 42 output = base64.decodestring(input)
60 return base64.decodestring(input)
  /external/python/cpython2/Lib/encodings/
base64_codec.py 42 output = base64.decodestring(input)
60 return base64.decodestring(input)
  /prebuilts/gdb/darwin-x86/lib/python2.7/encodings/
base64_codec.py 42 output = base64.decodestring(input)
60 return base64.decodestring(input)
  /prebuilts/gdb/linux-x86/lib/python2.7/encodings/
base64_codec.py 42 output = base64.decodestring(input)
60 return base64.decodestring(input)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
base64_codec.py 42 output = base64.decodestring(input)
60 return base64.decodestring(input)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
base64_codec.py 42 output = base64.decodestring(input)
60 return base64.decodestring(input)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_base64.py 27 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org")
28 eq(base64.decodestring("YQ==\n"), "a")
29 eq(base64.decodestring("YWI=\n"), "ab")
30 eq(base64.decodestring("YWJj\n"), "abc")
31 eq(base64.decodestring("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
37 eq(base64.decodestring(''), '')
39 eq(base64.decodestring(bytearray("YWJj\n")), "abc")
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_base64.py 27 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org")
28 eq(base64.decodestring("YQ==\n"), "a")
29 eq(base64.decodestring("YWI=\n"), "ab")
30 eq(base64.decodestring("YWJj\n"), "abc")
31 eq(base64.decodestring("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
37 eq(base64.decodestring(''), '')
39 eq(base64.decodestring(bytearray("YWJj\n")), "abc")
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_base64.py 27 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org")
28 eq(base64.decodestring("YQ==\n"), "a")
29 eq(base64.decodestring("YWI=\n"), "ab")
30 eq(base64.decodestring("YWJj\n"), "abc")
31 eq(base64.decodestring("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
37 eq(base64.decodestring(''), '')
39 eq(base64.decodestring(bytearray("YWJj\n")), "abc")
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_base64.py 27 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org")
28 eq(base64.decodestring("YQ==\n"), "a")
29 eq(base64.decodestring("YWI=\n"), "ab")
30 eq(base64.decodestring("YWJj\n"), "abc")
31 eq(base64.decodestring("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
37 eq(base64.decodestring(''), '')
39 eq(base64.decodestring(bytearray("YWJj\n")), "abc")
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_base64.py 25 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org")
26 eq(base64.decodestring("YQ==\n"), "a")
27 eq(base64.decodestring("YWI=\n"), "ab")
28 eq(base64.decodestring("YWJj\n"), "abc")
29 eq(base64.decodestring("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
35 eq(base64.decodestring(''), '')

Completed in 1546 milliseconds

1 2 3 4 5 6 7 8 91011>>