Croc has a history of major security vulnerabilities.
Anyways, croc is pretty similar to wormhole except that it allows resuming files (which wormhole does not yet [3]) and has some peer discovery for local network transfers. I've been using croc everyday for over three years and I'm still very happy with it. But, you should totally use magic-wormhole if that floats your boat - its a great tool, along with psanford's Go version. That may help me actually as I think croc has too many users on the public relay and the cost of bandwidth is becoming too high to keep the public relay available after this year.
[1]: https://redrocket.club/posts/croc/
[2]: https://schollz.com/blog/croc9/
[3]: https://github.com/magic-wormhole/magic-wormhole/issues/88