Skip to content

Commit 3a045cc

Browse files
updated docs
1 parent 2f0b711 commit 3a045cc

File tree

1 file changed

+43
-79
lines changed

1 file changed

+43
-79
lines changed

docs/index.html

+43-79
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
<!-- Required meta tags -->
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7-
<title>Prism - Bootstrap 4 Open Source Landing Page Template</title>
8-
<meta name="description" content="Prism is a beautiful Bootstrap 4 template for open-source landing pages."/>
7+
<title>MD5 - .NET library to generate MD5 hash</title>
8+
<meta name="description" content="MD5 is a .NET library that provides methods to generate MD5 hash from string content. It uses the System.Security.Cryptography.MD5 class to generate the hash."/>
99

1010
<!--Google font-->
1111
<link href="https://fonts.googleapis.com/css?family=K2D:300,400,500,700,800" rel="stylesheet">
1212

1313
<!-- Bootstrap CSS / Color Scheme -->
1414
<link rel="stylesheet" href="css/bootstrap.css">
15+
<style>
16+
.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string, .token.variable {
17+
color: #000000;
18+
}
19+
</style>
1520
</head>
1621
<body>
1722

@@ -20,16 +25,16 @@
2025
<div class="container">
2126
<div class="row">
2227
<div class="col-12 d-flex flex-row align-items-center justify-content-between">
23-
<div class="heading-brand">Prism.js</div>
24-
<a href="https://prismjs.com/download.html" class="btn btn-dark" target="_blank">Download</a>
28+
<div class="heading-brand"><img src="https://api.nuget.org/v3-flatcontainer/md5/2.0.3/icon" width="35" style="padding-bottom: 5px;"/>MD5</div>
29+
<a href="https://www.nuget.org/packages/MD5" class="btn btn-dark" target="_blank">Download</a>
2530
</div>
2631
</div>
27-
<div class="row mt-6">
32+
<div class="row mt-5">
2833
<div class="col-md-8 mx-auto text-center">
29-
<h1>Syntax Highlighter for Every Language</h1>
30-
<p class="lead mb-5">Prism is a lightweight, extensible syntax highlighter, built with modern web
31-
standards in mind. It’s used in thousands of websites, including some of those you visit daily.</p>
32-
<a href="https://github.com/LeaVerou/prism/" class="btn btn-success svg-icon">
34+
<h1>Encrypt strings using helper/extension
35+
</h1>
36+
<p class="lead mb-4">MD5 is a .NET library that provides methods to generate MD5 hash from string content. It has over 30,000 downloads on NuGet and is available under the MIT License. Contributions are welcome!</p>
37+
<a href="https://github.com/oalexandrefreire/MD5" class="btn btn-success svg-icon">
3338
<em class="mr-2" data-feather="github"></em>
3439
Contribute
3540
</a>
@@ -43,36 +48,36 @@ <h1>Syntax Highlighter for Every Language</h1>
4348
<div class="orange"></div>
4449
<div class="green"></div>
4550
</div>
46-
<pre class="language-javascript line-numbers"><code class="language-javascript">import {DomSanitizer} from '@angular/platform-browser';
47-
import {Pipe, PipeTransform} from '@angular/core';
48-
49-
import { icons } from 'feather-icons'; // v4+
50-
51-
@Pipe({ name: 'feather' })
52-
export class FeatherIconsPipe implements PipeTransform {
53-
54-
constructor(private sanitizer: DomSanitizer) {}
55-
56-
transform(icon: string, size: number = 24, color: string = 'inherit') {
57-
return this.sanitizer.bypassSecurityTrustHtml(icons[icon].toSvg({
58-
width: size,
59-
height: size,
60-
color: color
61-
}));
62-
}
63-
}</code></pre>
51+
<pre class="language-javascript line-numbers"><code class="language-javascript">using MD5Hash;
52+
using System;
53+
namespace MyAppExample
54+
{
55+
public class MyApp
56+
{
57+
public void MyExample()
58+
{
59+
string hashByHelper = Hash.Content("123");
60+
Console.WriteLine(hashByHelper);
61+
//output: 202cb962ac59075b964b07152d234b70
62+
string hashByExtension = "123".GetMD5();
63+
Console.WriteLine(hashByExtension);
64+
//output: 202cb962ac59075b964b07152d234b70
65+
}
66+
}
67+
}
68+
</code></pre>
6469
</div>
6570
</div>
6671
</div>
6772
</div>
6873
</section>
6974

7075
<!--Features Section-->
71-
<section class="py-6">
76+
<section class="py-5">
7277
<div class="container">
7378
<div class="row">
7479
<div class="col-md-8 mx-auto">
75-
<h2 class="text-center text-md-left">Reasons Why People Love <span class="text-success">Prism.js</span></h2>
80+
<h2 class="text-center text-md-left">Reasons Why People Love <span class="text-success">MD5</span></h2>
7681
<div class="row feature-grid">
7782
<div class="col-sm-6">
7883
<div class="media">
@@ -82,7 +87,7 @@ <h2 class="text-center text-md-left">Reasons Why People Love <span class="text-s
8287
</div>
8388
</div>
8489
<div class="media-body">
85-
Dead Simple
90+
Used by Thousands of Developers
8691
</div>
8792
</div>
8893
</div>
@@ -94,7 +99,7 @@ <h2 class="text-center text-md-left">Reasons Why People Love <span class="text-s
9499
</div>
95100
</div>
96101
<div class="media-body">
97-
Highly Intuitive
102+
Encrypt strings using helper/extension
98103
</div>
99104
</div>
100105
</div>
@@ -106,7 +111,7 @@ <h2 class="text-center text-md-left">Reasons Why People Love <span class="text-s
106111
</div>
107112
</div>
108113
<div class="media-body">
109-
Light as a Feather
114+
MD5 is a library light as a feather
110115
</div>
111116
</div>
112117
</div>
@@ -118,30 +123,7 @@ <h2 class="text-center text-md-left">Reasons Why People Love <span class="text-s
118123
</div>
119124
</div>
120125
<div class="media-body">
121-
Blazing Fast
122-
</div>
123-
</div>
124-
</div>
125-
<div class="col-sm-6">
126-
<div class="media">
127-
<div class="icon-box">
128-
<div class="icon-box-inner">
129-
<span data-feather="git-pull-request" width="28" height="28"></span>
130-
</div>
131-
</div>
132-
<div class="media-body">
133-
Extensible
134-
</div>
135-
</div>
136-
</div><div class="col-sm-6">
137-
<div class="media">
138-
<div class="icon-box">
139-
<div class="icon-box-inner">
140-
<span data-feather="droplet" width="28" height="28"></span>
141-
</div>
142-
</div>
143-
<div class="media-body">
144-
Easy Styling
126+
It has over 30,000 downloads on NuGet
145127
</div>
146128
</div>
147129
</div>
@@ -151,39 +133,21 @@ <h2 class="text-center text-md-left">Reasons Why People Love <span class="text-s
151133
</div>
152134
</section>
153135

154-
<!--Used By Section-->
155-
<section class="pb-6">
156-
<div class="container">
157-
<div class="row">
158-
<div class="col-md-8 mx-auto">
159-
<h2 class="text-center text-md-left">Used by Thousands of Companies</h2>
160-
<p class="lead text-muted">Prism.js is used on several websites, small and large.</p>
161-
<div class="mt-5 d-flex flex-row justify-content-md-between flex-wrap press-icons">
162-
<img src="https://logo.clearbit.com/google.com?size=60" alt="Google"/>
163-
<img src="https://logo.clearbit.com/twitter.com?size=60" alt="Twitter"/>
164-
<img src="https://logo.clearbit.com/vuejs.org?size=60" alt="Veu.js"/>
165-
<img src="https://logo.clearbit.com/stripe.com?size=60" alt="Stripe"/>
166-
</div>
167-
</div>
168-
</div>
169-
</div>
170-
</section>
171-
172136
<!--footer-->
173-
<footer class="py-5 bg-light">
137+
<footer class="py-4 bg-light">
174138
<div class="container">
175139
<div class="row">
176140
<div class="col-12 text-center">
177141
<ul class="list-inline">
178-
<li class="list-inline-item"><a href="https://prismjs.com/test.html">Test Drive</a></li>
179-
<li class="list-inline-item"><a href="https://prismjs.com/extending.html">API Docs</a></li>
180-
<li class="list-inline-item"><a href="https://github.com/LeaVerou/prism/">Fork Prism.js on GitHub</a></li>
142+
<li class="list-inline-item"><a href="https://www.nuget.org/packages/MD5">Test Drive</a></li>
143+
<li class="list-inline-item"><a href="https://github.com/oalexandrefreire/MD5#readme">API Docs</a></li>
144+
<li class="list-inline-item"><a href="https://github.com/oalexandrefreire/MD5/fork/">Fork MD5 on GitHub</a></li>
181145
</ul>
182146
</div>
183147
</div>
184148
<div class="row my-2">
185149
<div class="col-md-4 mx-auto text-muted text-center small-xl">
186-
&copy; 2019 Prism - All Rights Reserved
150+
&copy; 2023 MD5 - All Rights Reserved
187151
</div>
188152
</div>
189153
</div>

0 commit comments

Comments
 (0)