defuse/php-encryption

"decryptResourceInternal" method visibility public

kronthto opened this issue · 1 comments

I was wondering, why is this public/exposed, all the other "Internal" methods appear to be private. I couldn't find external references to it. Just an oversight?

public static function decryptResourceInternal($inputHandle, $outputHandle, KeyOrPassword $secret)

It's not a big problem though, and changing this risks breaking integrations in the wild that are using it directly now.

Good point, it indeed should have been private. Thanks!