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
Feature announcement: Fun...
by
edwinyzh
[
Today
at 05:44:29 am]
Simple animation with TTi...
by
Handoko
[
Today
at 05:25:48 am]
how do I use TCharacter (...
by
Weiss
[
Today
at 02:45:37 am]
MOVED: Question about RPI...
by
trev
[
Today
at 02:19:29 am]
Vector graphics floodfill...
by
ADMGNS
[
Today
at 01:42:05 am]
BGRA Controls
by
lainz
[May 27, 2022, 10:48:49 pm]
resize Form when enable o...
by
eldonfsr
[May 27, 2022, 08:35:47 pm]
[SOLVED] Illegal type con...
by
Thaddy
[May 27, 2022, 05:48:33 pm]
Lazarus Release 2.2.2
by
Milsa
[May 27, 2022, 04:24:37 pm]
Question about RPI_HAL CP...
by
pascalbythree
[May 27, 2022, 04:01:15 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: DCPCrypt Limit (Read 3225 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: 1776
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