28 lines
448 B
Plaintext
28 lines
448 B
Plaintext
include::../description.adoc[]
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
var CryptoJS = require("crypto-js");
|
|
|
|
var hash = CryptoJS.MD5("Message");
|
|
...
|
|
var hash = CryptoJS.SHA1("Message");
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
var hash = CryptoJS.SHA256("Message");
|
|
----
|
|
|
|
include::../see.adoc[]
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|