55import cpp
66
77/**
8- * Returns an algorithm that is known to be insecure.
8+ * Gets the name of an algorithm that is known to be insecure.
99 */
1010string getAnInsecureAlgorithmName ( ) {
1111 result = "DES" or
@@ -16,7 +16,7 @@ string getAnInsecureAlgorithmName() {
1616}
1717
1818/**
19- * Returns the name of a hash algorithm that is insecure if it is being used for
19+ * Gets the name of a hash algorithm that is insecure if it is being used for
2020 * encryption (but it is hard to know when that is happening).
2121 */
2222string getAnInsecureHashAlgorithmName ( ) {
@@ -25,7 +25,7 @@ string getAnInsecureHashAlgorithmName() {
2525}
2626
2727/**
28- * Returns a regular expression for matching strings that look like they
28+ * Gets the regular expression used for matching strings that look like they
2929 * contain an algorithm that is known to be insecure.
3030 */
3131string getInsecureAlgorithmRegex ( ) {
@@ -42,7 +42,7 @@ string getInsecureAlgorithmRegex() {
4242}
4343
4444/**
45- * Returns an algorithms that is known to be secure.
45+ * Gets the name of an algorithm that is known to be secure.
4646 */
4747string getASecureAlgorithmName ( ) {
4848 result = "RSA" or
@@ -55,7 +55,7 @@ string getASecureAlgorithmName() {
5555}
5656
5757/**
58- * Returns a regular expression for matching strings that look like they
58+ * Gets a regular expression for matching strings that look like they
5959 * contain an algorithm that is known to be secure.
6060 */
6161string getSecureAlgorithmRegex ( ) {
0 commit comments