Ticket #1038 (closed todo: fixed)

Opened 5 years ago

Last modified 4 years ago

Convert Digest::MD5 to object-based implementation

Reported by: coke Owned by:
Priority: minor Milestone:
Component: none Version: trunk
Severity: low Keywords: gci
Cc: Language:
Patch status: Platform:

Description (last modified by bacek) (diff)

Originally opened in  RT

Currently Digest::MD5 is an entirely subroutine-based implementation
and stores subs in the global namespace. It would be helpful
if it provided an object-based interface as well.

Pm

Change History

Changed 4 years ago by cotto

  • keywords gci added

Changed 4 years ago by DavidCzech

Working on this for GCI.

Changed 4 years ago by DavidCzech

 https://github.com/parrot/parrot/pull/100 implements object interface. Going to do the same for Digest:SHA256

Changed 4 years ago by bacek

  • description modified (diff)

Hello.

This is wrong approach. Preferably functional interface should be implemented in terms of OO interface. And Digest::MD5 should support incremental update similar to Perl5 Digest::MD5 module.

-- Bacek

Changed 4 years ago by cotto

  • status changed from new to closed
  • resolution set to fixed

There's now an oo interface, so the original purpose of this ticket has been met. I agree that the procedural interface should be written in terms of the oo interface, but that's an issue for another ticket.

Note: See TracTickets for help on using tickets.