Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
DCPCrypt Limit
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Another two bugs in TIpHt...
by
wp
[
Today
at 10:29:21 pm]
Lazarus Release 2.2.2
by
piola
[
Today
at 10:23:39 pm]
How do I access the full ...
by
MarkMLl
[
Today
at 10:20:42 pm]
The declaration of WriteF...
by
tetrastes
[
Today
at 10:14:04 pm]
HTML to text
by
wp
[
Today
at 09:44:28 pm]
Raspberry with source dir...
by
MarkMLl
[
Today
at 09:44:27 pm]
Save fold state
by
bigeno
[
Today
at 08:58:44 pm]
fpDebug vs GDB in source ...
by
Martin_fr
[
Today
at 08:47:42 pm]
Removing duplicates from ...
by
440bx
[
Today
at 07:57:27 pm]
How do I find a form and ...
by
wp
[
Today
at 07:16:01 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: DCPCrypt Limit (Read 3218 times)
Pe3s
Full Member
Posts: 145
DCPCrypt Limit
«
on:
November 28, 2021, 10:06:46 am »
It is possible to bypass the sha1 limit
Logged
AlexTP
Hero Member
Posts: 1766
Re: DCPCrypt Limit
«
Reply #1 on:
November 28, 2021, 11:46:36 am »
Really? That is very good.
Logged
CudaText editor
-
ATSynEdit
-
More from me
Pe3s
Full Member
Posts: 145
Re: DCPCrypt Limit
«
Reply #2 on:
November 28, 2021, 11:54:09 am »
What am I doing wrong with not encoding more memo content ?????
Code: Pascal
[Select]
[+]
[-]
var
i
:
Integer
;
Cipher
:
TDCP_rc4
;
begin
if
InputQuery
(
'Password'
,
'Enter password'
,
KeyStr
)
then
begin
Cipher
:
=
TDCP_rc4
.
Create
(
Self
)
;
Cipher
.
InitStr
(
KeyStr
,
TDCP_sha1
)
;
for
i
:
=
0
to
Memo1
.
Lines
.
Count
-
1
do
begin
Memo1
.
Lines
[
i
]
:
=
Cipher
.
EncryptString
(
Memo1
.
Lines
[
i
]
)
;
end
;
Cipher
.
Burn
;
Cipher
.
Free
;
end
;
«
Last Edit: November 28, 2021, 06:10:54 pm by Pe3s
»
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
DCPCrypt Limit
TinyPortal
© 2005-2018