Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

cannot access Sodium.java functions from outside package #553

Open
ceyhunalp opened this issue Jun 25, 2023 · 0 comments
Open

cannot access Sodium.java functions from outside package #553

ceyhunalp opened this issue Jun 25, 2023 · 0 comments

Comments

@ceyhunalp
Copy link

Hello,

I am trying to use tuweni-crypto (2.3.1) in my project on Mac OS. I downloaded the project from Maven by adding the following in the pom.xml file:

<dependency>
  <groupId>org.apache.tuweni</groupId>
  <artifactId>tuweni-crypto</artifactId>
  <version>2.3.1</version>
</dependency>

When I try to call a function from the Sodium package (e.g., crypto_core_ed25519_scalar_reduce), I get the following error: 'crypto_core_ed25519_scalar_reduce(byte[], byte[])' is not public in 'org.apache.tuweni.crypto.sodium.Sodium'. Cannot be accessed from outside package.

It seems like the other packages do not have this problem. Is there anyway I can work around this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant