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
Incorrect code in /fonten...
by
zoltanleo
[
Today
at 06:45:57 pm]
Button pack for Lazarus
by
pascalbythree
[
Today
at 06:38:38 pm]
Does anybody have URL for...
by
pascalbythree
[
Today
at 06:12:09 pm]
installation warning
by
Martin_fr
[
Today
at 06:08:57 pm]
MOVED: Announcement: Laza...
by
Martin_fr
[
Today
at 06:02:57 pm]
Read JSON names
by
korba812
[
Today
at 05:58:36 pm]
After upgrade to Laz 2.2....
by
wp
[
Today
at 05:46:33 pm]
How to determine the colo...
by
MarkMLl
[
Today
at 05:19:59 pm]
Removing duplicates from ...
by
440bx
[
Today
at 05:08:22 pm]
Get Free space of Disk or...
by
BobDog
[
Today
at 05:07:13 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: DCPCrypt Limit (Read 3223 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: 1771
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