FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/java/ql/src/experimental/quantum/Examples/TestCipher.ql at main · github/codeql · GitHub
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
474
(474)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
java
/
ql
/
src
/
experimental
/
quantum
/
Examples
/
TestCipher.ql
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (16 loc) · 593 Bytes
Breadcrumbs
codeql
/
java
/
ql
/
src
/
experimental
/
quantum
/
Examples
/
TestCipher.ql
Copy path
File metadata and controls
18 lines (16 loc) · 593 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* @name "Key operation slice table demo query"
*/
import
experimental.quantum.Language
from
Crypto
::
KeyOperationNode
op
,
Crypto
::
KeyOperationAlgorithmNode
a
,
Crypto
::
ModeOfOperationAlgorithmNode
m
,
Crypto
::
PaddingAlgorithmNode
p
,
Crypto
::
NonceArtifactNode
nonce
,
Crypto
::
KeyArtifactNode
k
where
a
=
op
.
getAKnownAlgorithm
(
)
and
m
=
a
.
getModeOfOperation
(
)
and
p
=
a
.
getPaddingAlgorithm
(
)
and
nonce
=
op
.
getANonce
(
)
and
k
=
op
.
getAKey
(
)
select
op
,
op
.
getKeyOperationSubtype
(
)
,
a
,
a
.
getRawAlgorithmName
(
)
,
m
,
m
.
getRawAlgorithmName
(
)
,
p
,
p
.
getRawAlgorithmName
(
)
,
nonce
,
k
Back
|
FazBrowse Home
|
New Git URL